去除无用package

This commit is contained in:
jxxghp
2024-05-17 13:59:00 +08:00
parent 8f3dce058c
commit 86b5af3423
4 changed files with 24 additions and 204 deletions
+7 -1
View File
@@ -28,9 +28,15 @@ http {
try_files $uri $uri/ /index.html;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
# 静态资源
expires 1y;
add_header Cache-Control "public, immutable";
}
location /assets {
# 静态资源
expires 7d;
expires 1y;
add_header Cache-Control "public";
root html;
}