Skip to content

Commit ebb6c29

Browse files
committed
fix: Code review fixes
1 parent 7a5630a commit ebb6c29

File tree

9 files changed

+99
-87
lines changed

9 files changed

+99
-87
lines changed

lib/build/constants.js

Lines changed: 12 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/nextjs/constants.d.ts

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/nextjs/types.d.ts

Lines changed: 1 addition & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/nextjsmiddleware.js

Lines changed: 25 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/nextjsssr.js

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/nextjs/constants.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
export const ACCESS_TOKEN_COOKIE_NAME = "sAccessToken";
1+
export const ACCESS_TOKEN_COOKIE_SESSION_COOKIE_NAME = "sAccessToken";
2+
export const ACCESS_TOKEN_HEADER_SESSION_COOKIE_NAME = "st-access-token";
23
export const ACCESS_TOKEN_HEADER_NAME = "st-access-token";
3-
export const FRONT_TOKEN_COOKIE_NAME = "sFrontToken";
4+
export const FRONT_TOKEN_COOKIE_SESSION_COOKIE_NAME = "sFrontToken";
5+
export const FRONT_TOKEN_HEADER_SESSION_HEADER_NAME = "front-token";
46
export const FRONT_TOKEN_HEADER_NAME = "front-token";
5-
export const REFRESH_TOKEN_COOKIE_NAME = "sRefreshToken";
7+
export const REFRESH_TOKEN_COOKIE_SESSION_COOKIE_NAME = "sRefreshToken";
8+
export const REFRESH_TOKEN_HEADER_SESSION_COOKIE_NAME = "st-refresh-token";
69
export const REFRESH_TOKEN_HEADER_NAME = "st-refresh-token";
710
export const ANTI_CSRF_TOKEN_COOKIE_NAME = "sAntiCsrf";
811
export const ANTI_CSRF_TOKEN_HEADER_NAME = "anti-csrf";

0 commit comments

Comments
 (0)