From 743f569ecc21191594d097f80bdc06660c03f27f Mon Sep 17 00:00:00 2001 From: eom-tae-in Date: Tue, 27 Aug 2024 13:33:13 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20Access-Control-Allow-Headers?= =?UTF-8?q?=EC=97=90=20=ED=97=88=EC=9A=A9=EB=90=98=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EC=9D=80=20cookie=20=EC=84=A4=EC=A0=95=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/atwoz/global/config/filter/CorsCustomFilter.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/atwoz/global/config/filter/CorsCustomFilter.java b/src/main/java/com/atwoz/global/config/filter/CorsCustomFilter.java index d9ca01a5..adbece2d 100644 --- a/src/main/java/com/atwoz/global/config/filter/CorsCustomFilter.java +++ b/src/main/java/com/atwoz/global/config/filter/CorsCustomFilter.java @@ -23,7 +23,6 @@ protected void doFilterInternal(final HttpServletRequest request, response.setHeader("Access-Control-Max-Age", "3600"); response.setHeader("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept, Authorization, x-xsrf-token"); - response.setHeader("Access-Control-Expose-Headers", "Set-Cookie"); ContentCachingRequestWrapper contentCachingRequestWrapper = new ContentCachingRequestWrapper(request); ContentCachingResponseWrapper contentCachingResponseWrapper = new ContentCachingResponseWrapper(response);