SpringBoot自定义静态资源配置
可以配置文件里配置:
app.video.save-path=D:/tmp/
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${app.video.save-path}
原创
2020-07-02 15:20:22 ·
362 阅读 ·
0 评论