Scope PWA manifest to app's own path instead of origin root

Every installed PWA claimed scope "/", so Android link-capturing routed
navigation for any app on the shared origin into whichever PWA had it.
This commit is contained in:
jtricerolph 2026-07-29 13:47:08 +00:00
parent e085fd3e88
commit 36ca4e1996

View file

@ -12,7 +12,7 @@ export default defineConfig({
name: 'HK Planner', name: 'HK Planner',
short_name: 'HK Planner', short_name: 'HK Planner',
start_url: '/hk-planner/', start_url: '/hk-planner/',
scope: '/', scope: '/hk-planner/',
display: 'standalone', display: 'standalone',
theme_color: '#2d6a4f', theme_color: '#2d6a4f',
background_color: '#2d6a4f', background_color: '#2d6a4f',