update 修正拦截路径

This commit is contained in:
疯狂的狮子li 2021-09-26 13:29:51 +08:00
parent 0d24be4c05
commit 06442d5aa2

View File

@ -33,15 +33,13 @@ public class ResourcesConfig implements WebMvcConfigurer {
List<String> urlPath = Arrays.asList( List<String> urlPath = Arrays.asList(
"/login", "/login",
"/logout", "/logout",
"/register",
"/captchaImage", "/captchaImage",
"/*.html", "/*.html",
"/**/*.html", "/**/*.html",
"/**/*.css", "/**/*.css",
"/**/*.js", "/**/*.js",
"/profile/**", "/doc.html",
"/common/download**",
"/common/download/resource**",
"/swagger-ui.html",
"/swagger-resources/**", "/swagger-resources/**",
"/webjars/**", "/webjars/**",
"/*/api-docs", "/*/api-docs",