Fix PWA manifest scope to / per install-architecture doc

Scope was set to the app's own base path, which breaks the installed
PWA out of standalone mode into a regular browser tab on any
same-origin navigation outside that path (e.g. the auth redirect).
scope: "/" keeps navigation inside the installed app's window.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-24 17:06:48 +00:00
parent 2454886e2d
commit 83dbb1d85a

View file

@ -12,7 +12,7 @@ export default defineConfig({
name: 'Rate Monitor', name: 'Rate Monitor',
short_name: 'Rates', short_name: 'Rates',
start_url: '/rates/', start_url: '/rates/',
scope: '/rates/', scope: '/',
display: 'standalone', display: 'standalone',
theme_color: '#7b4f00', theme_color: '#7b4f00',
background_color: '#7b4f00', background_color: '#7b4f00',