Skip to content

Commit

Permalink
fix: 쿠키 생성 시 도메인 명시적 설정(임시 하드코딩)
Browse files Browse the repository at this point in the history
  • Loading branch information
bflykky committed Jul 31, 2024
1 parent cc6776b commit 596bc91
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class CookieUtils {
public static void addCookie(HttpServletResponse response, String name, String value,
int maxAge) {
Cookie cookie = new Cookie(name, value);
cookie.setDomain("ec2-52-79-212-19.ap-northeast-2.compute.amazonaws.com");
cookie.setPath("/");
cookie.setMaxAge(maxAge);
// HTTPS 적용 시 함께 적용
Expand Down

0 comments on commit 596bc91

Please sign in to comment.