Skip to content

Commit c7d2e59

Browse files
committed
fix: 도메인 삭제
1 parent 261adbb commit c7d2e59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/example/log4u/common/util/CookieUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public static void deleteCookie(HttpServletResponse response, String name) {
3131
cookie.setPath("/");
3232
cookie.setHttpOnly(true);
3333
cookie.setSecure(true);
34-
cookie.setDomain("fe-log4u.vercel.app");
3534
// SameSite 설정
3635
response.addHeader("Set-Cookie", String.format(
37-
"%s=; Max-Age=0; Path=/; Domain=log4u.site; HttpOnly; Secure; SameSite=None",
36+
"%s=; Max-Age=0; Path=/; HttpOnly; Secure; SameSite=None",
3837
name
3938
));
39+
4040
}
4141

4242
}

0 commit comments

Comments
 (0)