Update the manifest start_url to point at index #1275
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
According to https://developer.mozilla.org/en-US/docs/Web/Manifest/start_url#Relative_URL
the start_url, if a relative URL like '.', should point to a path relative to the manifest.
After testing the install in Samsung Internet, this results in a broken link because it points to the folder containing the manifest:
localhost:8080/static-336ee288886f5728e1191e9ada2aeba5eb0bbd76/out/vs/server/src/media/Which is the correct behaviour, but the expected behaviour is that it points to the root of the project.
An alternative change would be to:
../../../../../../Describe in detail the problem you had and how this PR fixes it
After using
add to homescreenin Samsung Internet on Android the window is pointing at the wrong path.This fixes the issue by pointing to '/' instead of the manifest location '.'