We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a42206b + c7c1b8e commit 0bd3f36Copy full SHA for 0bd3f36
src/main/java/org/ezcode/codetest/common/security/config/SecurityConfig.java
@@ -48,7 +48,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
48
49
return http
50
// CSRF, Form 로그인, HTTP Basic 인증 비활성화
51
- .cors(cors -> corsConfigurationSource()) // CORS 설정 추가
+ .cors(cors -> cors.configurationSource(corsConfigurationSource())) // CORS 설정 추가
52
.csrf(AbstractHttpConfigurer::disable)
53
.formLogin(AbstractHttpConfigurer::disable)
54
.httpBasic(AbstractHttpConfigurer::disable)
0 commit comments