#这个节点的配置是设置静态文件的访问的路径(http请求的)
spring.mvc.static-path-pattern=//**
#这个是放在resources路径/类路径 下的static文件夹
spring.resources.static-locations=classpath:/static
springboot访问静态文件 application.properties 配置
最新推荐文章于 2023-05-29 16:08:37 发布