Skip to content

Commit

Permalink
fix: excludePathPattern 수정 #115
Browse files Browse the repository at this point in the history
  • Loading branch information
feel-coding committed Jan 18, 2024
1 parent 140ec2d commit 15bcd08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/cvsgo/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

0 comments on commit 15bcd08

Please sign in to comment.