update at 2026-02-11 18:37:30
This commit is contained in:
@@ -82,8 +82,8 @@ server {
|
||||
location = /fonts.json {
|
||||
expires 1h;
|
||||
add_header Cache-Control "public, must-revalidate" always;
|
||||
# Web 端固定请求 /fonts.json,优先使用 dist 内清单,兼容仅部署 dist 的场景
|
||||
try_files /frontend/dist/fonts.json /fonts.json =404;
|
||||
# Web 端固定请求 /fonts.json,依次回退到 dist/public/root 三处清单
|
||||
try_files /frontend/dist/fonts.json /frontend/public/fonts.json /fonts.json =404;
|
||||
}
|
||||
|
||||
location = /miniprogram/assets/fonts.json {
|
||||
|
||||
Reference in New Issue
Block a user