|
|
@@ -25,8 +25,8 @@ public class MyWebMvcConfig implements WebMvcConfigurer {
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
registry.addInterceptor(loginInterceptor)
|
|
|
.addPathPatterns("/**")
|
|
|
- .excludePathPatterns("/api/user/register")
|
|
|
- .excludePathPatterns("/api/user/login")
|
|
|
+ .excludePathPatterns("/api/users/register")
|
|
|
+ .excludePathPatterns("/api/users/login")
|
|
|
.order(1);
|
|
|
}
|
|
|
|