Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Set start_url in manifest.json correctly #255

Open
damooo opened this issue Aug 27, 2020 · 0 comments
Open

Set start_url in manifest.json correctly #255

damooo opened this issue Aug 27, 2020 · 0 comments

Comments

@damooo
Copy link

damooo commented Aug 27, 2020

Hello guys,

In manifest currently start_url is setted to / at below:

"start_url": "/",

But when apps is mounted at custom mount_path, absolute root is not the start_url. Thus it will not be recognized as pwa, as service-worker is not scoped to absolute root.

If it is setted to ./ , it is app root, instead of absolute root, as we are serving manifest.json from app root.

We can also set scope to same value by default.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant