Browse Source

修改床铺提交

liu 1 year ago
parent
commit
64e74f6c66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/template/core/JwtlnterceptorConfig.java

+ 1 - 1
src/main/java/com/template/core/JwtlnterceptorConfig.java

@@ -14,7 +14,7 @@ public class JwtlnterceptorConfig implements WebMvcConfigurer {
         //目前测试下来 使用 /**所有的话,response.sendError浏览器获取不到响应的信息
         //默认拦截所有路径
         registry.addInterceptor(authenticationInterceptor())
-                .addPathPatterns("/api0/**");
+                .addPathPatterns("/api/**");
         //endregion
     }