우편번호호

This commit is contained in:
2025-10-27 17:53:55 +09:00
parent 6c2223a021
commit 0fd1fa74ba
4 changed files with 13 additions and 24 deletions
+1 -8
View File
@@ -61,19 +61,12 @@ async function handler(
});
const hostname = window.location.hostname;
let domain = hostname === "localhost" || hostname === "127.0.0.1" ? undefined : hostname;
// 운영 환경에서는 서브도메인을 포함한 최상위 도메인 사용
if (hostname.includes("hasuon.or.kr")) {
domain = ".hasuon.or.kr";
}
if (refreshToken) {
cookieStore.set(REFRESH_TOKEN, refreshToken, {
httpOnly: true,
sameSite: "lax",
domain: domain,
// domain: domain,
path: "/",
});
}