From 30bacaf72b5a6bb855afe94907962b5afb09242e Mon Sep 17 00:00:00 2001 From: CJ <9089077+cao-jiang@user.noreply.gitee.com> Date: Sun, 25 Sep 2022 01:57:06 +0000 Subject: [PATCH] update src/main/resources/application.yml. Signed-off-by: CJ <9089077+cao-jiang@user.noreply.gitee.com> --- src/main/resources/application.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index d56de4a..ea5bfaa 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -62,7 +62,8 @@ spring : #指定目录不更新 exclude: test/** mvc: #静态文件 - static-path-pattern : /static/** + static-path-pattern : /** + static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/ #模板引擎 thymeleaf: model: HTML5 -- Gitee