From f640fdea47e290941e9542d6ae7b1f6127446703 Mon Sep 17 00:00:00 2001 From: sanghun Date: Sun, 23 Feb 2025 16:44:39 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EB=B9=84=EB=A1=9C=EA=B7=B8=EC=9D=B8?= =?UTF-8?q?=20=ED=9A=8C=EC=9B=90=20=EC=A1=B0=ED=9A=8C=20=EA=B0=80=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 다중 조회용 API endpoint 추가 --- .../com/techeer/backend/global/config/SecurityConfig.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/com/techeer/backend/global/config/SecurityConfig.java b/backend/src/main/java/com/techeer/backend/global/config/SecurityConfig.java index 0dfc89d..72eb57a 100644 --- a/backend/src/main/java/com/techeer/backend/global/config/SecurityConfig.java +++ b/backend/src/main/java/com/techeer/backend/global/config/SecurityConfig.java @@ -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/**", @@ -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() )