fix: h5
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 59s

This commit is contained in:
luo
2026-07-03 10:50:40 +08:00
parent 808e7e40dd
commit d115363115

View File

@@ -18,7 +18,11 @@ server {
} }
location /h5/ { location /h5/ {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /h5/index.html;
}
location = /h5 {
return 301 /h5/;
} }
location = / { location = / {
@@ -30,6 +34,4 @@ server {
add_header Cache-Control "public, immutable"; add_header Cache-Control "public, immutable";
access_log off; access_log off;
} }
error_page 404 /index.html;
} }