Skip to content

Commit

Permalink
Fix : version controller 시큐리티 해제
Browse files Browse the repository at this point in the history
  • Loading branch information
koomin1227 committed Aug 22, 2024
1 parent 8571726 commit 1a6c766
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ protected SecurityFilterChain configure(HttpSecurity httpSecurity) throws Except
.authorizeHttpRequests((authorizeHttpRequests) ->
authorizeHttpRequests
.requestMatchers("/api/auth/**").permitAll()
.requestMatchers("/api/version").permitAll()
.requestMatchers("/v3/api-docs/**").permitAll()
.requestMatchers("/api/swagger-ui/**").permitAll()
.requestMatchers("/api/docs/**").permitAll()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public class JwtAuthorizationFilter extends OncePerRequestFilter {
"/api/docs",
"/v3/api-docs",
"/api/swagger-ui",
"/check"
"/check",
"/api/version"
);
private static final List<String> WHITE_LIST_TMP = List.of(
"/api",
Expand Down

0 comments on commit 1a6c766

Please sign in to comment.