Spring boot项目设置加载静态资源的路径(spring.resources.static-locations)
windows和mac配制:写法####静态资源#mac下面配置#spring.resources.staticLocations=file:///Users/joun/work/htest/dist/#windows下配置spring.resources.static-locations=file:D:/work/cos/vue/htest/dist
·
windows和mac配制:写法
####静态资源
#mac下面配置
#spring.resources.staticLocations=file:///Users/joun/work/htest/dist/
#windows下配置
spring.resources.static-locations=file:D:/work/cos/vue/htest/dist
更多推荐
已为社区贡献14条内容
所有评论(0)