#自定义文件路径
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自定义静态资源资源路径
最新推荐文章于 2024-05-24 09:54:54 发布