- Installable app: manifest, SVG icon plus PNGs (192, 512, maskable 512, apple-touch 180), theme color and iOS meta tags. - Service worker (production builds only): precaches the page and the bundles it references on install (Chromium's memory cache bypasses the worker on repeat loads), cache-first for hashed assets, network-first for the page and config.js so deploys land at once; ignores Vary (module scripts carry an Origin header). Uploads, the websocket and anything cross-origin are never touched. Checked in a production preview: worker controls the page, and the app opens offline. - Notifications fall back to the service worker where browsers require it (Android), which also handles the click. - `npm run preview` gets the dev proxy, so the installed app can log in locally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
445 B
XML
7 lines
445 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
<rect width="512" height="512" rx="112" fill="#d91e4d"/>
|
|
<path d="M256 112c-92 0-164 58-164 132 0 42 23 79 60 104-4 26-17 50-37 68 38-3 72-17 99-39 13 3 27 4 42 4 92 0 164-58 164-137s-72-132-164-132z" fill="#fff"/>
|
|
<circle cx="190" cy="246" r="20" fill="#d91e4d"/>
|
|
<circle cx="256" cy="246" r="20" fill="#d91e4d"/>
|
|
<circle cx="322" cy="246" r="20" fill="#d91e4d"/>
|
|
</svg>
|