From ac98e14e110f666b334a275550d648078338c729 Mon Sep 17 00:00:00 2001 From: HeoSeokMun Date: Sat, 3 Feb 2024 16:25:11 +0900 Subject: [PATCH] =?UTF-8?q?#89=20-=20feat:=20cors=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/potato/server/config/WebConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/potato/server/config/WebConfig.java b/src/main/java/potato/server/config/WebConfig.java index 123baad..3e16e99 100644 --- a/src/main/java/potato/server/config/WebConfig.java +++ b/src/main/java/potato/server/config/WebConfig.java @@ -11,6 +11,7 @@ public class WebConfig implements WebMvcConfigurer { public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allowedOrigins("http://localhost:3000") + .allowCredentials(true) .allowedMethods("*"); } }