支持 staticPrefix 不自带 ctxPath

This commit is contained in:
thinkgem
2021-04-04 23:46:20 +08:00
parent b4c7f49589
commit a19f76788f

View File

@@ -563,7 +563,7 @@ web:
# 静态文件后缀排除的url路径指定哪些uri路径不进行静态文件过滤。
staticFileExcludeUri: /druid/
# 静态资源路径前缀可做CDN加速优化
# 静态资源路径前缀,可做 CDN 加速优化,默认前面增加 ctxPath 前缀,如果前面写 “//” 两个斜杠 或 包含 “://” 不加 ctxPath。
staticPrefix: /static
# 严格模式(更严格的数据安全验证)