From 85d07be875592db51b6c4d25437c97a89ae079d4 Mon Sep 17 00:00:00 2001 From: Lee Haewon Date: Fri, 12 Jan 2024 19:05:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20CORS=20=EC=97=90=EB=9F=AC=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/tenten/blooming/global/config/WebMvcConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/tenten/blooming/global/config/WebMvcConfig.java b/src/main/java/tenten/blooming/global/config/WebMvcConfig.java index 36139bf..85c7441 100644 --- a/src/main/java/tenten/blooming/global/config/WebMvcConfig.java +++ b/src/main/java/tenten/blooming/global/config/WebMvcConfig.java @@ -14,7 +14,7 @@ public void addCorsMappings(CorsRegistry registry) { .allowedOrigins("http://localhost:3000") .allowedMethods("OPTIONS","GET","POST","PUT","DELETE") .allowedMethods("*") - .allowCredentials(false) + .allowCredentials(true) .maxAge(3000); } }