Skip to content

Commit

Permalink
🐛 fix: swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerohertz committed Feb 18, 2025
1 parent a53ce39 commit 2964251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/server/global/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
// API
.requestMatchers("/api/**").permitAll()
// Swagger
.requestMatchers("/api-docs/**", "/swagger-ui/**", "/swagger/**").permitAll()
.requestMatchers("/api-docs/**", "/swagger-ui/**", "/swagger").permitAll()
.anyRequest().authenticated())
.csrf(csrf -> csrf.disable())
.httpBasic(httpBasic -> httpBasic.disable())
Expand Down

0 comments on commit 2964251

Please sign in to comment.