springboot默认的静态资源配置如下时
spring.mvc.static-path-pattern=/**
默认配置情况下,比如说要访问common.js资源,那么访问路径为http://localhost:8080/js/common.js
springboot默认的静态资源配置如下时
spring.mvc.static-path-pattern=/**
默认配置情况下,比如说要访问common.js资源,那么访问路径为http://localhost:8080/js/common.js