From 6b294beef01c462af67835cc025968ed69b815f8 Mon Sep 17 00:00:00 2001 From: kimdohyung Date: Thu, 23 Nov 2023 06:58:36 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=95=84=ED=84=B0=EC=97=90=20Access-Con?= =?UTF-8?q?trol-Allow-Origin=20=EC=B6=94=EA=B0=80=20(#40)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/backend/jwt/filter/JwtAuthenticationFilter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/backend/jwt/filter/JwtAuthenticationFilter.java b/src/main/java/com/backend/jwt/filter/JwtAuthenticationFilter.java index 8f3e0e4..3c1d26c 100644 --- a/src/main/java/com/backend/jwt/filter/JwtAuthenticationFilter.java +++ b/src/main/java/com/backend/jwt/filter/JwtAuthenticationFilter.java @@ -51,6 +51,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse } } + response.setHeader("Access-Control-Allow-Origin", "https://jedero.site"); filterChain.doFilter(request, response); } } \ No newline at end of file