From 596bc918407b651831d1df4526bcabe290fc34a4 Mon Sep 17 00:00:00 2001 From: bflykky Date: Wed, 31 Jul 2024 11:11:02 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=BF=A0=ED=82=A4=20=EC=83=9D=EC=84=B1?= =?UTF-8?q?=20=EC=8B=9C=20=EB=8F=84=EB=A9=94=EC=9D=B8=20=EB=AA=85=EC=8B=9C?= =?UTF-8?q?=EC=A0=81=20=EC=84=A4=EC=A0=95(=EC=9E=84=EC=8B=9C=20=ED=95=98?= =?UTF-8?q?=EB=93=9C=EC=BD=94=EB=94=A9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/umc/naoman/global/security/util/CookieUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/umc/naoman/global/security/util/CookieUtils.java b/src/main/java/com/umc/naoman/global/security/util/CookieUtils.java index 54742d7..871b5ea 100644 --- a/src/main/java/com/umc/naoman/global/security/util/CookieUtils.java +++ b/src/main/java/com/umc/naoman/global/security/util/CookieUtils.java @@ -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 적용 시 함께 적용