mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 01:42:50 +08:00
Add PWA installability (manifest + service worker)
- Wire up vite-plugin-pwa: generates a web app manifest and a precache-only service worker for the built app shell (JS/CSS/HTML/ icons). WebSocket (/ws) and file-transfer traffic are never intercepted or cached. Disabled in dev so it doesn't interfere with Vite's own HMR websocket. - Add 512px + maskable 512px icons generated from the existing logo. - Add iOS "Add to Home Screen" meta tags (manifest support there is partial). - Gateway: serve .webmanifest with the correct MIME type.
This commit is contained in:
1 parent
20d1944dc9
commit
48f5e35a38
7 files changed
+5360
-3
No files matched your search
Generated
+5316
-1
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user