From 130e0d6ea4314ecaeb40446cba86ba9842e89d84 Mon Sep 17 00:00:00 2001 From: seungin Date: Thu, 7 Aug 2025 19:41:26 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20HTTP=20=EB=A9=94=EC=84=9C=EB=93=9C=20PA?= =?UTF-8?q?TCH=20=EC=B6=94=EA=B0=80=20=ED=97=88=EC=9A=A9=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/wayble/server/common/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/wayble/server/common/config/SecurityConfig.java b/src/main/java/com/wayble/server/common/config/SecurityConfig.java index 9d826819..d67a88b0 100644 --- a/src/main/java/com/wayble/server/common/config/SecurityConfig.java +++ b/src/main/java/com/wayble/server/common/config/SecurityConfig.java @@ -64,7 +64,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti public CorsConfigurationSource corsConfigurationSource() { CorsConfiguration configuration = new CorsConfiguration(); configuration.setAllowedOriginPatterns(Arrays.asList("*")); // 모든 오리진 허용 - configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS")); // 허용할 HTTP 메서드 + configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")); // 허용할 HTTP 메서드 configuration.setAllowedHeaders(Arrays.asList("*")); // 모든 헤더 허용 configuration.setAllowCredentials(true); // 쿠키, 인증 정보 허용