Skip to content

Commit e6f393c

Browse files
committed
fix: cors 허용 메서드 수정
1 parent 0df496b commit e6f393c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/oronaminc/join/member/security/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public CorsConfigurationSource corsConfigurationSource() {
6262
CorsConfiguration configuration = new CorsConfiguration();
6363
configuration.setAllowCredentials(true);
6464
configuration.setAllowedOriginPatterns(List.of("*"));
65-
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS"));
65+
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
6666
configuration.setAllowedHeaders(List.of("*"));
6767

6868
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();

0 commit comments

Comments
 (0)