update at 2026-02-11 18:33:57

This commit is contained in:
douboer
2026-02-11 18:33:57 +08:00
parent eb27b93d1e
commit 2a737f2857

View File

@@ -82,7 +82,8 @@ server {
location = /fonts.json { location = /fonts.json {
expires 1h; expires 1h;
add_header Cache-Control "public, must-revalidate" always; add_header Cache-Control "public, must-revalidate" always;
try_files $uri =404; # Web 端固定请求 /fonts.json优先使用 dist 内清单,兼容仅部署 dist 的场景
try_files /frontend/dist/fonts.json /fonts.json =404;
} }
location = /miniprogram/assets/fonts.json { location = /miniprogram/assets/fonts.json {