From 768314caded46119cf3d06b77b80dbdfa465fe94 Mon Sep 17 00:00:00 2001 From: mummhy0811 Date: Thu, 30 May 2024 17:21:28 +0900 Subject: [PATCH] =?UTF-8?q?setting:=20cors=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/hanaro/triptogether/WebConfig.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/hanaro/triptogether/WebConfig.java b/src/main/java/com/hanaro/triptogether/WebConfig.java index 22d7eab..3ecf0a1 100644 --- a/src/main/java/com/hanaro/triptogether/WebConfig.java +++ b/src/main/java/com/hanaro/triptogether/WebConfig.java @@ -14,7 +14,6 @@ public void addCorsMappings(CorsRegistry registry) { .addMapping("/**") .allowedHeaders("*") .allowedMethods("*") - .allowedOrigins("*") - .allowCredentials(true); + .allowedOrigins("*"); } }