#自定义文件路径
web:
upload-path: D:/images
#添加到Spring静态资源配置
spring:
resources:
static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}/
SpringBoot自定义静态资源资源路径
猜你喜欢
转载自blog.csdn.net/qq_40561126/article/details/103731694
今日推荐
周排行