From 63e783d64034d6494865e05cefe281222c8a8370 Mon Sep 17 00:00:00 2001 From: dl-00-e8 Date: Mon, 19 Feb 2024 21:33:11 +0900 Subject: [PATCH] =?UTF-8?q?[#3]=20fix:=20CORS=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/gongjakso/server/global/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gongjakso/server/global/config/SecurityConfig.java b/src/main/java/com/gongjakso/server/global/config/SecurityConfig.java index 688ec130..1e83b09c 100644 --- a/src/main/java/com/gongjakso/server/global/config/SecurityConfig.java +++ b/src/main/java/com/gongjakso/server/global/config/SecurityConfig.java @@ -88,7 +88,7 @@ CorsConfigurationSource corsConfigurationSource() { // 인증정보 주고받도록 허용 config.setAllowCredentials(true); // 허용할 주소 - config.setAllowedOrigins(List.of("http://localhost:3000")); + config.setAllowedOrigins(List.of("*")); // 허용할 HTTP Method config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")); // 허용할 헤더 정보