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.
1 parent 8c35ac9 commit 07b6019Copy full SHA for 07b6019
src/main/java/com/backend/global/config/SecurityConfig.java
@@ -27,11 +27,11 @@ public class SecurityConfig {
27
28
private final JwtAccessDeniedHandler jwtAccessDeniedHandler;
29
30
-// @Bean
31
-// public WebSecurityCustomizer webSecurityCustomizer(){
32
-// return web -> web.ignoring()
33
-// .requestMatchers();
34
-// }
+ @Bean
+ public WebSecurityCustomizer webSecurityCustomizer(){
+ return web -> web.ignoring()
+ .requestMatchers("/swagger-ui/**", "/api-docs/**");
+ }
35
36
@Bean
37
public SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Exception {
0 commit comments