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