diff --git a/boot-web/src/main/java/com/xwbing/configuration/DispatcherServletConfig.java b/boot-web/src/main/java/com/xwbing/configuration/DispatcherServletConfig.java index 51b2072..b8e6505 100644 --- a/boot-web/src/main/java/com/xwbing/configuration/DispatcherServletConfig.java +++ b/boot-web/src/main/java/com/xwbing/configuration/DispatcherServletConfig.java @@ -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 */ diff --git a/boot-web/src/main/resources/static/js/route.js b/boot-web/src/main/resources/static/js/route.js new file mode 100644 index 0000000..7277d66 --- /dev/null +++ b/boot-web/src/main/resources/static/js/route.js @@ -0,0 +1 @@ +var base_path="http://localhost:8080/"; \ No newline at end of file diff --git a/boot-web/src/main/resources/static/login.html b/boot-web/src/main/resources/static/login.html new file mode 100644 index 0000000..e69de29