springboot实际操作-图片的展示
2018-08-08 本文已影响18人
IAmWhoAmI
展示
在application.properties中添加配置:
spring.resources.static-locations=file:${~/Desktop}
即可
然后就能在页面上看到了。
在application.properties中添加配置:
spring.resources.static-locations=file:${~/Desktop}
即可
然后就能在页面上看到了。