chore: release v1.7.58-alpha

This commit is contained in:
archipelago
2026-05-17 18:40:50 -04:00
parent cfb304a001
commit e05e356d64
9 changed files with 110 additions and 39 deletions

View File

@@ -105,9 +105,25 @@ server {
try_files $uri =404;
}
# Versioned Vite assets must never fall through to index.html. During OTA
# a browser can keep an old HTML shell that references now-removed hashed
# chunks; returning HTML for /assets/*.js triggers strict MIME failures.
# A real 404 plus immutable/no-cache split lets the app/browser recover on
# refresh without caching the wrong content type.
location /assets/ {
try_files $uri =404;
add_header Cache-Control "public, max-age=31536000, immutable" always;
}
location ~* ^/(registerSW\.js|sw\.js|workbox-[^/]+\.js)$ {
try_files $uri =404;
add_header Cache-Control "no-cache, must-revalidate" always;
}
# Serve static files (Vue.js SPA)
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-cache, must-revalidate";
}
# Peer-to-peer node messaging (receives from other nodes over Tor)