Two-pronged fix for Android PWA shell launching to the wrong page: 1. middleware.ts: if a logged-in user (valid tia_session cookie) visits /, immediately redirect them to /home — catches all existing installs whose cached start_url still points to /?source=pwa 2. manifest.ts: change start_url from /?source=pwa to /home?source=pwa so any fresh install or reinstall opens directly to the app home Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| icons | ||
| file.svg | ||
| globe.svg | ||
| icon.svg | ||
| next.svg | ||
| sw.js | ||
| vercel.svg | ||
| window.svg | ||