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
原创
2021-03-23 10:52:30 ·
3712 阅读 ·
0 评论