spring:
# 配置静态资源访问前缀
mvc:
static-path-pattern: /res/**
# 配置静态资源路径
web:
resources:
static-locations: classpath:/123/
springboot配置静态资源路径
最新推荐文章于 2024-05-24 09:54:54 发布
spring:
# 配置静态资源访问前缀
mvc:
static-path-pattern: /res/**
# 配置静态资源路径
web:
resources:
static-locations: classpath:/123/