diff --git a/src/main/java/com/example/waggle/global/util/CookieUtil.java b/src/main/java/com/example/waggle/global/util/CookieUtil.java index ff6189cd..05e49b8e 100644 --- a/src/main/java/com/example/waggle/global/util/CookieUtil.java +++ b/src/main/java/com/example/waggle/global/util/CookieUtil.java @@ -25,6 +25,7 @@ public static void addCookie(HttpServletResponse response, String name, String v Cookie cookie = new Cookie(name, value); cookie.setPath("/"); cookie.setHttpOnly(true); + cookie.setSecure(true); cookie.setMaxAge(maxAge); response.addCookie(cookie); }