Skip to content

Commit

Permalink
fix : 비로그인 회원 조회 가능
Browse files Browse the repository at this point in the history
다중 조회용 API endpoint 추가
  • Loading branch information
lsh1215 committed Feb 23, 2025
1 parent 4db9a32 commit f640fde
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.authorizeHttpRequests(authorize -> authorize

// 특정 엔드포인트에서 GET 요청만 허용
.requestMatchers(HttpMethod.GET, "/api/v1/resumes").permitAll()
.requestMatchers(HttpMethod.GET,
"/api/v1/resumes",
"/api/v1/resumes/view"
).permitAll()

.requestMatchers(
"/v3/api-docs/**",
Expand All @@ -80,7 +83,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
"/api-docs/**",
"/signup.html",
"/login",
"/api/v1/mock/signup"
"/api/v1/mock/signup",
"/api/v1/resumes/search"
).permitAll()
.anyRequest().authenticated()
)
Expand Down

0 comments on commit f640fde

Please sign in to comment.