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"); } }