Skip to content

Commit

Permalink
Merge pull request #45 from Tea-Bliss/dev
Browse files Browse the repository at this point in the history
[fix] 인증/인가 URL 변경
  • Loading branch information
mun9659 authored Jun 15, 2024
2 parents 25462a4 + 6ece80d commit 5681ce7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.authorizeHttpRequests((request) -> {
// request.requestMatchers(new AntPathRequestMatcher("/api/**")).permitAll();
request.requestMatchers(new AntPathRequestMatcher("/api/member/**")).permitAll();
// request.requestMatchers(new AntPathRequestMatcher("/api/ingredient/**")).permitAll();
request.requestMatchers(new AntPathRequestMatcher("/api/ingredient/**")).permitAll();
request.requestMatchers(new AntPathRequestMatcher("/api/tea/**")).permitAll();
// request.requestMatchers(new AntPathRequestMatcher("/api/survey/**")).authenticated();
// request.requestMatchers(permitUrl).permitAll();
request.requestMatchers(permitUrl).permitAll();
request.anyRequest().authenticated();
}
);
Expand Down

0 comments on commit 5681ce7

Please sign in to comment.