Skip to content

Commit

Permalink
[fix #191] 쿠키 도메인 설정 하위 도메인 . 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
dudxo committed Jan 22, 2025
1 parent 41d3184 commit 95b48e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class CookieUtil {
public Cookie createCookie(String token) {
Cookie cookie = new Cookie("Authorization", token);
cookie.setPath("/");
cookie.setDomain(".gongmuin.site");
cookie.setDomain("gongmuin.site");
cookie.setMaxAge(60 * 60);
cookie.setHttpOnly(true);
cookie.setSecure(true);
Expand Down

0 comments on commit 95b48e6

Please sign in to comment.