Skip to content

Commit

Permalink
fix: 경로에 정규표현식 추가 (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxdjww authored Sep 30, 2024
1 parent f60b17f commit 31bcb07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers(HttpMethod.OPTIONS, "/**").permitAll() // 모든 OPTIONS 요청에 대해 인증을 요구하지 않음
.requestMatchers("/health-check", "/", "/auth/reissue/**", "/security-check").permitAll()
.requestMatchers("/api/v2/users/**", "/auth/**").hasRole("USER")
.requestMatchers(("/auth/reissue/mobile")).permitAll()
.requestMatchers(("/auth/reissue/mobile/**")).permitAll()
.requestMatchers("/api/v2/possibleDates/**").hasAnyRole("MENTOR", "MENTEE")
.requestMatchers("/api/v2/mentors/**").hasAnyRole("MENTOR", "MENTEE")
.requestMatchers("/api/v2/applications/**").hasAnyRole("MENTOR", "MENTEE")
Expand Down

0 comments on commit 31bcb07

Please sign in to comment.