빌드 오류 수정

This commit is contained in:
2025-10-17 15:38:01 +09:00
parent 44d04d7532
commit 9c9ddbfcd7
3 changed files with 8 additions and 4 deletions
@@ -24,6 +24,8 @@ export class TokenManager {
setCookie(key, value, {
secure: window.location.protocol === "https:",
sameSite: "lax",
domain: domain,
path: "/", // 모든 경로에서 접근 가능
});
}
@@ -46,7 +48,8 @@ export class TokenManager {
}
public removeToken(key: string): void {
removeCookie(key);
const domain = this.getCookieDomain();
removeCookie(key, { domain, path: "/" });
}
public setupRefreshTimer(