Skip to content

Commit

Permalink
fix: url config
Browse files Browse the repository at this point in the history
  • Loading branch information
oxdjww committed May 11, 2024
1 parent 841e40d commit 17ba23e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers("/").permitAll()
.requestMatchers("/reissue").permitAll()
.requestMatchers("/auth/email").permitAll()
.requestMatchers("/api/v1/user/**", "auth/**").hasRole("USER")
.requestMatchers("/api/v1/user/**").hasRole("USER")
//.requestMatchers("/api/v1/**").hasAnyRole("MENTEE", "MENTOR") //로그인 제외하면 다 멘티나 멘토 아니면 접근불가
.requestMatchers("api/v1/possibleDate/**").hasRole("MENTOR")
.requestMatchers("api/v1/mentor/**").hasRole("MENTEE")
Expand Down

0 comments on commit 17ba23e

Please sign in to comment.