Skip to content

Commit 07b6019

Browse files
author
jemin
committed
chore: securityConfig 변경
1 parent 8c35ac9 commit 07b6019

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/com/backend/global/config/SecurityConfig.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ public class SecurityConfig {
2727

2828
private final JwtAccessDeniedHandler jwtAccessDeniedHandler;
2929

30-
// @Bean
31-
// public WebSecurityCustomizer webSecurityCustomizer(){
32-
// return web -> web.ignoring()
33-
// .requestMatchers();
34-
// }
30+
@Bean
31+
public WebSecurityCustomizer webSecurityCustomizer(){
32+
return web -> web.ignoring()
33+
.requestMatchers("/swagger-ui/**", "/api-docs/**");
34+
}
3535

3636
@Bean
3737
public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Exception {

0 commit comments

Comments
 (0)