Skip to content

Commit

Permalink
fix :: cannot connect to swagger (exclude yml path)
Browse files Browse the repository at this point in the history
  • Loading branch information
jombidev committed Jun 11, 2024
1 parent 527f3fd commit 8072225
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class SecurityConfig(private val objectMapper: ObjectMapper) {
.authorizeExchange {
it
.pathMatchers("auth/login", "auth/register").permitAll()
.pathMatchers("/webjars/v3/api-docs/**", "/webjars/swagger-ui/**").permitAll()
.pathMatchers("/v3/api-docs/**", "/webjars/swagger-ui/**").permitAll()
.anyExchange().authenticated()
}
.exceptionHandling {
Expand Down

0 comments on commit 8072225

Please sign in to comment.