[api] swagger 셋팅중
- 체인설정 수정
This commit is contained in:
@@ -41,7 +41,7 @@ public class SecurityConfig {
|
||||
@Order(1)
|
||||
public SecurityFilterChain swaggerFilterChain(HttpSecurity http) throws Exception {
|
||||
http
|
||||
.securityMatcher("/", "/v3/api-docs/**", "/swagger-ui/**", "/swagger-ui.html")
|
||||
.securityMatcher("/v3/api-docs/**", "/swagger-ui/**", "/swagger-ui.html")
|
||||
.authorizeHttpRequests(auth -> auth.anyRequest().authenticated())
|
||||
.httpBasic(Customizer.withDefaults())
|
||||
.csrf(csrf -> csrf.disable());
|
||||
|
||||
Reference in New Issue
Block a user