From 15bcd086eaecdf8a239c8844c38b4c1ecd0f1ccf Mon Sep 17 00:00:00 2001 From: feel-coding Date: Thu, 18 Jan 2024 22:49:59 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20excludePathPattern=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20#115?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/cvsgo/config/WebConfig.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/cvsgo/config/WebConfig.java b/src/main/java/com/cvsgo/config/WebConfig.java index 370a9581..d1c1c4dc 100644 --- a/src/main/java/com/cvsgo/config/WebConfig.java +++ b/src/main/java/com/cvsgo/config/WebConfig.java @@ -28,9 +28,9 @@ public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(authInterceptor) .order(1) .addPathPatterns("/**") - .excludePathPatterns("/", "/docs/**", "/*.ico", "/api/auth/login", "/api/users", - "/api/tags", "/api/users/emails/*/exists", "/api/users/nicknames/*/exists", - "/api/promotions", "/api/products", "/api/products/*", "/api/products/*/tags", - "/api/users/*/reviews","/error"); + .excludePathPatterns("/", "/docs/**", "/*.ico", "/resources/**", "/error", + "/api/auth/login", "/api/users", "/api/tags", "/api/users/emails/*/exists", + "/api/users/nicknames/*/exists", "/api/promotions", "/api/products", + "/api/products/*", "/api/products/*/tags", "/api/users/*/reviews"); } }