Skip to content

Commit

Permalink
Chore: coverletter referer 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
dongree committed Nov 23, 2023
1 parent a9a10bb commit 0461e90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/create/coverletter/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export const metadata: Metadata = {
};

export default async function CreateCoverLetterPage() {
// const headersList = headers();
// const referer = headersList.get('referer');
// referer === null && redirect(MAIN_PATH);
const headersList = headers();
const referer = headersList.get('referer');
referer === null && redirect(MAIN_PATH);

const accessToken = cookies().get(ACCESS_TOKEN)?.value;
const refreshToken = cookies().get(REFRESH_TOKEN)?.value;
Expand Down

0 comments on commit 0461e90

Please sign in to comment.