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:
parent
349fbb335c
commit
1309ab5719
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ export default defineConfig({
|
||||||
name: 'Cash Up',
|
name: 'Cash Up',
|
||||||
short_name: 'Cash Up',
|
short_name: 'Cash Up',
|
||||||
start_url: '/cashup/',
|
start_url: '/cashup/',
|
||||||
scope: '/cashup/',
|
scope: '/',
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
theme_color: '#6b2d8b',
|
theme_color: '#6b2d8b',
|
||||||
background_color: '#6b2d8b',
|
background_color: '#6b2d8b',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue