From 0dbbbb08b2f51d1208626960ad3c81448bc876cc Mon Sep 17 00:00:00 2001 From: kokodak Date: Wed, 4 Oct 2023 03:20:47 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B2=80=EC=88=98=20=EC=9E=A5=EC=86=8C?= =?UTF-8?q?=20=EC=82=AD=EC=A0=9C=20API=20=EC=97=90=20ManagerAuthIntercepto?= =?UTF-8?q?r=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/now/naaga/common/config/WebConfig.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/com/now/naaga/common/config/WebConfig.java b/backend/src/main/java/com/now/naaga/common/config/WebConfig.java index f3954d613..c8fa71b6b 100644 --- a/backend/src/main/java/com/now/naaga/common/config/WebConfig.java +++ b/backend/src/main/java/com/now/naaga/common/config/WebConfig.java @@ -57,12 +57,14 @@ private HandlerInterceptor mapAuthInterceptor() { .excludeRequestPattern("/**/*.ico") .excludeRequestPattern("/ranks") .excludeRequestPattern("/**", HttpMethod.OPTIONS) - .excludeRequestPattern("/places", HttpMethod.POST); + .excludeRequestPattern("/places", HttpMethod.POST) + .excludeRequestPattern("/temporary-places/**", HttpMethod.DELETE); } private HandlerInterceptor mapManagerAuthInterceptor() { return new RequestMatcherInterceptor(managerAuthInterceptor) - .includeRequestPattern("/places", HttpMethod.POST); + .includeRequestPattern("/places", HttpMethod.POST) + .includeRequestPattern("/temporary-places/**", HttpMethod.DELETE); } @Override