Skip to content

Commit

Permalink
fix : swagger 접근제한
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jaesungyu committed May 7, 2024
1 parent c1eb6f8 commit be4e5db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.requestMatchers("/posts","/posts/district/*", "posts/searchAll", "posts/updateAll").permitAll()
.requestMatchers(HttpMethod.GET, "/posts/**").permitAll() // 게시글 상세 조회 허가
.requestMatchers("/comments/check/posts/**").permitAll()
.requestMatchers("/swagger/**","/swagger-ui/**","/v3/api-docs/**").permitAll()
// .requestMatchers("/swagger/**","/swagger-ui/**","/v3/api-docs/**").permitAll()
.requestMatchers("/ws-stomp/**").permitAll()
.requestMatchers("/notification/**").permitAll()
.anyRequest().authenticated() // 그 외 모든 요청 인증처리
Expand Down

0 comments on commit be4e5db

Please sign in to comment.