|
@@ -27,7 +27,7 @@ public class ExamCloudWebMvcConfigurer implements WebMvcConfigurer {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
- String[] excludes = new String[]{"/", "/error", "/webjars/**", "/doc.html"};
|
|
|
|
|
|
+ String[] excludes = new String[]{"/", "/webjars/**", "/doc.html"};
|
|
registry.addInterceptor(new FirstInterceptor()).addPathPatterns("/**").excludePathPatterns(excludes);
|
|
registry.addInterceptor(new FirstInterceptor()).addPathPatterns("/**").excludePathPatterns(excludes);
|
|
registry.addInterceptor(new RpcInterceptor(resourceManager)).addPathPatterns("/**").excludePathPatterns(excludes);
|
|
registry.addInterceptor(new RpcInterceptor(resourceManager)).addPathPatterns("/**").excludePathPatterns(excludes);
|
|
|
|
|