From e085fd3e88667db1fdf60d602e0af08fcd61c402 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Fri, 24 Jul 2026 17:06:46 +0000 Subject: [PATCH] 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 --- frontend/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 8e83678..028730d 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -12,7 +12,7 @@ export default defineConfig({ name: 'HK Planner', short_name: 'HK Planner', start_url: '/hk-planner/', - scope: '/hk-planner/', + scope: '/', display: 'standalone', theme_color: '#2d6a4f', background_color: '#2d6a4f',