Fix redirects broken by service worker navigate fallback; v1.1.31
The SW's navigateFallback was using a denylist, so any path not explicitly excluded (e.g. /spotify, /apple, /amazon, custom admin redirects) got served the cached index.html instead of reaching the server's redirect handler. Switch to navigateFallbackAllowlist: the SW only intercepts known SPA routes; all other paths hit the network so server-side 301/302 redirects work correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "siteforge",
|
||||
"private": true,
|
||||
"version": "1.1.30",
|
||||
"version": "1.1.31",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
Reference in New Issue
Block a user