Skip to content

Commit

Permalink
Merge pull request #42 from gooiman/fix/error-response-body
Browse files Browse the repository at this point in the history
fix: error response body 추가
  • Loading branch information
EATSTEAK authored Sep 28, 2024
2 parents ab63c1f + 73fd788 commit 1f235dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
.headers(headers -> headers.frameOptions(FrameOptionsConfig::sameOrigin))
.authorizeHttpRequests(auth -> auth
.requestMatchers("/error").permitAll() // error
.requestMatchers("/api").permitAll() // health check
.requestMatchers("/swagger-ui/**", "/v3/api-docs/**").permitAll() // swagger
.requestMatchers(HttpMethod.PUT, "/api/page/**").permitAll() // page 생성
Expand Down

0 comments on commit 1f235dc

Please sign in to comment.