调整静态资源访问问题

This commit is contained in:
TinyAnts
2022-08-17 16:14:01 +08:00
parent 4a1f201703
commit 11a27e43fa
3 changed files with 7 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ spring:
profiles:
active: pro
mvc:
static-path-pattern: /static/**
static-path-pattern: /api/static/**
# 数据源配置
datasource:
url: jdbc:mysql://localhost:3306/local_admin_java?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false