File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
backend/src/main/java/io/f1/backend/global/config Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11package io .f1 .backend .global .config ;
22
3- import java .util .List ;
43import org .springframework .context .annotation .Bean ;
54import org .springframework .context .annotation .Configuration ;
65import org .springframework .web .cors .CorsConfiguration ;
76import org .springframework .web .cors .CorsConfigurationSource ;
87import org .springframework .web .cors .UrlBasedCorsConfigurationSource ;
98
9+ import java .util .List ;
10+
1011@ Configuration
1112public class CorsConfig {
1213 @ Bean
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public class SecurityConfig {
3232 @ Bean
3333 public SecurityFilterChain userFilterChain (HttpSecurity http ) throws Exception {
3434 http .csrf (AbstractHttpConfigurer ::disable )
35- .cors (Customizer .withDefaults ())
35+ .cors (Customizer .withDefaults ())
3636 .exceptionHandling (
3737 exception ->
3838 exception .authenticationEntryPoint (customAuthenticationEntryPoint ))
You can’t perform that action at this time.
0 commit comments