From f5d53fdf55a301431bd4fd02a68e875597571a17 Mon Sep 17 00:00:00 2001 From: Jisu Lim <69844138+Ji-soo708@users.noreply.github.com> Date: Sat, 25 Jan 2025 11:07:10 +0900 Subject: [PATCH] =?UTF-8?q?[YS-209]=20hotfix:=20=EC=8B=A4=ED=97=98=20?= =?UTF-8?q?=EA=B3=B5=EA=B3=A0=20=EC=B0=B8=EC=97=AC=20=EB=B0=A9=EB=B2=95=20?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=20API=20=ED=98=B8=EC=B6=9C=20=EC=8B=9C,=20?= =?UTF-8?q?=EC=9D=B8=EC=A6=9D=20=EC=83=9D=EB=9E=B5=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95=20(#57)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../backend/presentation/api/config/WebSecurityConfig.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/dobby/backend/presentation/api/config/WebSecurityConfig.kt b/src/main/kotlin/com/dobby/backend/presentation/api/config/WebSecurityConfig.kt index 16c0c5e7..38584834 100644 --- a/src/main/kotlin/com/dobby/backend/presentation/api/config/WebSecurityConfig.kt +++ b/src/main/kotlin/com/dobby/backend/presentation/api/config/WebSecurityConfig.kt @@ -32,7 +32,7 @@ class WebSecurityConfig { ): SecurityFilterChain = httpSecurity .securityMatcher("/v1/auth/**", "/v1/members/signup/**", "/v1/emails/**", - "/v1/experiment-posts/counts", "/v1/experiment-posts/search") + "/v1/experiment-posts/counts", "/v1/experiment-posts/search", "/v1/experiment-posts/{postId}/apply-method") .csrf { it.disable() } .cors(Customizer.withDefaults()) .sessionManagement { @@ -42,7 +42,7 @@ class WebSecurityConfig { it.requestMatchers( "/v1/auth/**", "/v1/members/signup/**", "/v1/emails/**", - "/v1/experiment-posts/counts", "/v1/experiment-posts/search" + "/v1/experiment-posts/counts", "/v1/experiment-posts/search", "/v1/experiment-posts/{postId}/apply-method" ).permitAll() it.anyRequest().authenticated() }