Commit 90bc34d7 by fengshuonan

修复一处错误

parent e985c824
...@@ -68,11 +68,11 @@ public class WebConfig implements WebMvcConfigurer { ...@@ -68,11 +68,11 @@ public class WebConfig implements WebMvcConfigurer {
//swagger //swagger
registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/"); registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/");
registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/"); registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");
}
//本应用 //本应用
registry.addResourceHandler("/assets/**").addResourceLocations("classpath:/assets/"); registry.addResourceHandler("/assets/**").addResourceLocations("classpath:/assets/");
} }
}
/** /**
* 增加对rest api鉴权的spring mvc拦截器 * 增加对rest api鉴权的spring mvc拦截器
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment