tia/public
Mannu 9c2e7328ab Fix PWA always opening marketing page instead of app home
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>
2026-05-28 10:28:31 +05:30
..
icons feat(pwa): add Serwist service worker, manifest, icons, install prompt 2026-05-27 23:20:48 +05:30
file.svg chore: initial setup 2026-05-10 03:33:32 +05:30
globe.svg chore: initial setup 2026-05-10 03:33:32 +05:30
icon.svg polish(marketing): favicon, scroll-reveal nav, Google button, font + hovers 2026-05-26 00:05:10 +05:30
next.svg chore: initial setup 2026-05-10 03:33:32 +05:30
sw.js Fix PWA always opening marketing page instead of app home 2026-05-28 10:28:31 +05:30
vercel.svg chore: initial setup 2026-05-10 03:33:32 +05:30
window.svg chore: initial setup 2026-05-10 03:33:32 +05:30