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