添加静态资源

This commit is contained in:
xiangwbs
2017-11-19 15:38:34 +08:00
parent 5e19afab7c
commit 4214352f2e
3 changed files with 4 additions and 3 deletions
@@ -44,11 +44,11 @@ public class DispatcherServletConfig extends WebMvcConfigurerAdapter {
/**
* 配置静态访问资源
* 默认:
* 默认:优先级
* classpath:/META-INF/resources
* classpath:/resources
* classpath:/static
* classpath:/public
* classpath:/resources
* classpath:/META-INF/resources
*
* @param registry
*/
@@ -0,0 +1 @@
var base_path="http://localhost:8080/";