Skip to content

Commit

Permalink
Merge pull request #209 from Team-Hankki/hotfix/208
Browse files Browse the repository at this point in the history
Hotfix/208
  • Loading branch information
Parkjyun authored Oct 15, 2024
2 parents a8d4774 + 6c2f497 commit 1f507bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server-yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.hankki.hankkiserver.auth.jwt.JwtValidator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer;
Expand Down Expand Up @@ -54,6 +55,6 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
public WebSecurityCustomizer webSecurityCustomizer() {
return web -> web.ignoring()
.requestMatchers(authWhiteList)
.requestMatchers(businessLogicWhileList);
.requestMatchers(HttpMethod.GET, businessLogicWhileList);
}
}

0 comments on commit 1f507bc

Please sign in to comment.