-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: 폰트 ttf에서 woff2로 변경 * chore: woff2, woff, ttf 순으로 브라우저에서 지원하는 폰트 사용하도록 설정 * feat: my-page, my-study, study-apply 중 한 페이지 초기 접속 시에만 미들웨어 동작하는 로직 추가 * chore: 로그아웃 시 middleware-executed 쿠키 삭제 로직 추가 * chore: 미들웨어에서 로그인 안 한 사용자는 헤더 캐시 속성 없어도 확인하도록 수정 * chore: aria 속성 잘못 설정된 부분 삭제 * chore: 자잘한 태그 변경 * feat: ui 패키지 스타일 변경 사항 반영 * refactor: cookieKey constants에서 관리하도록 수정 * chore: 불필요한 api 호출 에러 처리 삭제 * chore: cookieKey 객체로 관리하도록 수정 * chore: 과제 제출 상태 넘어오지 않는 경우 예외 처리 추가 * refactor: 스타일 객체 분리 * chore: baseUrl hostname으로 지정하도록 수정 * feat: ui 패키지 변경사항 반영 * chore: 불필요한 변수 삭제 * fix: 스터디 기본 정보 시작시간 및 종료시간 널 처리 추가 * feat: ui 패키지 변경사항 변경
- Loading branch information
1 parent
bccc86d
commit 104548d
Showing
34 changed files
with
151 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { cookieKey } from "constants/cookieKey"; | ||
import { cookies } from "next/headers"; | ||
import { NextResponse } from "next/server"; | ||
|
||
export async function POST() { | ||
const cookieStore = cookies(); | ||
|
||
cookieStore.set(cookieKey["middleware-executed"], "", { | ||
httpOnly: true, | ||
secure: true, | ||
sameSite: "lax", | ||
expires: new Date(0), | ||
path: "/", | ||
}); | ||
|
||
return NextResponse.json({ success: true }); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const enum cookieKey { | ||
accessToken = "accessToken", | ||
} | ||
export const cookieKey = { | ||
accessToken: "accessToken", | ||
["middleware-executed"]: "middleware-executed", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.