From 778a1fb7f00d6663b75871d166748dc5ec5120b6 Mon Sep 17 00:00:00 2001 From: Anna-Jin Date: Tue, 19 Jul 2022 23:00:28 +0900 Subject: [PATCH] =?UTF-8?q?#35=20[Update]=20=EC=BF=A0=ED=82=A4=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C=EA=B0=80=20=EC=95=88=EB=90=98=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/mpnp/baechelin/util/CookieUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mpnp/baechelin/util/CookieUtil.java b/src/main/java/com/mpnp/baechelin/util/CookieUtil.java index 9a5191b..0134dfc 100644 --- a/src/main/java/com/mpnp/baechelin/util/CookieUtil.java +++ b/src/main/java/com/mpnp/baechelin/util/CookieUtil.java @@ -59,7 +59,7 @@ public static void deleteCookie(HttpServletRequest request, HttpServletResponse cookie.setPath("/"); cookie.setMaxAge(0); - response.addCookie(cookie); + response.addHeader("Set-Cookie", cookie.toString()); } } }