|
|
|
@ -20,7 +20,8 @@ public class MvcConfig implements WebMvcConfigurer { |
|
|
|
@Override |
|
|
|
public void addInterceptors(InterceptorRegistry registry) { |
|
|
|
registry.addInterceptor(xssInterceptor) |
|
|
|
.addPathPatterns("/**"); |
|
|
|
.addPathPatterns("/**") |
|
|
|
.excludePathPatterns("/error"); |
|
|
|
registry.addInterceptor(authInterceptor) |
|
|
|
.addPathPatterns("/**") |
|
|
|
.excludePathPatterns("/login", "/logout", "/register", "/refreshToken", |
|
|
|
|