Skip to content

Commit

Permalink
[feat] 외부에서 문서 접근 허용 #98
Browse files Browse the repository at this point in the history
빌드 및 실행 후 http://localhost:8080/docs/index.html 에서 접근 가능
  • Loading branch information
LeeJE20 committed Apr 11, 2023
1 parent c903c80 commit 2491dc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.and()
.authorizeRequests()
.antMatchers("/", "/api/v1/auth/**", "/api/v1/admin/**", "/api/v1/community/**", "/api/v1/messages/**",
"/api/v1/profile/**").permitAll()
"/api/v1/profile/**", "/docs/**").permitAll()
.anyRequest().authenticated()

.and()
Expand Down

0 comments on commit 2491dc0

Please sign in to comment.