Skip to content

Commit bafeb06

Browse files
authored
Chain (#146) (#147)
2 parents 5644654 + d1bb295 commit bafeb06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/umc/codeplay/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public AuthenticationManager authenticationManager(AuthenticationConfiguration c
4949
@Bean
5050
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
5151
AuthenticationEntryPoint entryPoint = new CustomAuthenticationEntryPoint(objectMapper);
52-
http
52+
http.cors(Customizer.withDefaults())
5353
// 세션을 사용하지 않도록 설정
5454
.sessionManagement(
5555
session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))

0 commit comments

Comments
 (0)