From b7e1c99e0fdf37b2baa3d2ee097b5654d4f8b0d7 Mon Sep 17 00:00:00 2001 From: belljun3395 <195850@jnu.ac.kr> Date: Wed, 7 Aug 2024 21:51:59 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=8B=9C=ED=81=90=EB=A6=AC?= =?UTF-8?q?=ED=8B=B0=20=ED=95=84=ED=84=B0=20=EC=A0=9C=EC=99=B8=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=A0=90=EA=B2=80=20=EB=B0=8F=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/few/api/security/config/WebSecurityConfig.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/main/kotlin/com/few/api/security/config/WebSecurityConfig.kt b/api/src/main/kotlin/com/few/api/security/config/WebSecurityConfig.kt index 90e47a94b..0b0dfccc9 100644 --- a/api/src/main/kotlin/com/few/api/security/config/WebSecurityConfig.kt +++ b/api/src/main/kotlin/com/few/api/security/config/WebSecurityConfig.kt @@ -141,7 +141,6 @@ class WebSecurityConfig( AntPathRequestMatcher("/api/v1/workbooks", HttpMethod.GET.name()), AntPathRequestMatcher("/api/v1/articles/*", HttpMethod.GET.name()), AntPathRequestMatcher("/api/v1/workbooks/*/articles/*", HttpMethod.GET.name()), - AntPathRequestMatcher("/api/v1/subscriptions/workbooks/main", HttpMethod.GET.name()), /** 어드민 */ AntPathRequestMatcher("/api/v1/admin/**", HttpMethod.POST.name()), @@ -157,7 +156,8 @@ class WebSecurityConfig( AntPathRequestMatcher("/api/v1/workbooks/*", HttpMethod.GET.name()), AntPathRequestMatcher("/api/v1/workbooks/categories", HttpMethod.GET.name()), AntPathRequestMatcher("/api/v1/workbooks/*/articles/*", HttpMethod.GET.name()), - AntPathRequestMatcher("/api/v1/problems/**", HttpMethod.GET.name()) + AntPathRequestMatcher("/api/v1/problems/**", HttpMethod.GET.name()), + AntPathRequestMatcher("/api/v1/problems/*", HttpMethod.POST.name()) ) } } @@ -185,7 +185,6 @@ class WebSecurityConfig( AntPathRequestMatcher("/api/v1/workbooks", HttpMethod.GET.name()), AntPathRequestMatcher("/api/v1/articles/*", HttpMethod.GET.name()), AntPathRequestMatcher("/api/v1/workbooks/*/articles/*", HttpMethod.GET.name()), - AntPathRequestMatcher("/api/v1/subscriptions/workbooks/main", HttpMethod.GET.name()), /** 어드민 */ AntPathRequestMatcher("/api/v1/admin/**", HttpMethod.POST.name()), @@ -201,7 +200,8 @@ class WebSecurityConfig( AntPathRequestMatcher("/api/v1/workbooks/*", HttpMethod.GET.name()), AntPathRequestMatcher("/api/v1/workbooks/categories", HttpMethod.GET.name()), AntPathRequestMatcher("/api/v1/workbooks/*/articles/*", HttpMethod.GET.name()), - AntPathRequestMatcher("/api/v1/problems/**", HttpMethod.GET.name()) + AntPathRequestMatcher("/api/v1/problems/**", HttpMethod.GET.name()), + AntPathRequestMatcher("/api/v1/problems/*", HttpMethod.POST.name()) ) } }