Fix maintenance /assets 403 and remove vite-plugin-pwa
- nginx try_files: remove $uri/ so the Vite assets/ build directory doesn't shadow the /assets React route and trigger a 403 - Remove VitePWA plugin (leftover from scaffold, not needed for internal app) - Strip PWA-specific nginx location blocks (manifest, sw.js, registerSW.js) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c43a23b00d
commit
a3b458abca
3 changed files with 3 additions and 44 deletions
|
|
@ -19,7 +19,6 @@
|
|||
"@types/react-dom": "^18.3.1",
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"typescript": "^5.7.2",
|
||||
"vite": "^6.0.5",
|
||||
"vite-plugin-pwa": "^1.3.0"
|
||||
"vite": "^6.0.5"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue