Revert "fix vite web build to work with subpath"

This reverts commit 1a9f36ce9e.
This commit is contained in:
jeffvli
2026-02-12 18:17:44 -08:00
parent 80292ae579
commit 96f5b2b82a
4 changed files with 120 additions and 139 deletions
+1 -2
View File
@@ -12,10 +12,9 @@ server {
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_comp_level 9;
# PUBLIC_PATH must be "/" or a subpath with trailing slash (e.g. "/feishin/")
location ${PUBLIC_PATH} {
alias /usr/share/nginx/html/;
try_files $uri $uri/ /index.html;
try_files $uri $uri/ /index.html =404;
}
location ${PUBLIC_PATH}settings.js {