Wednesday, 13 July 2022

Is it possible to use relative paths for scope, start_url and id in webmanifest.json?

Let's say we have a web application which is available through different environments:

nightly.my-app.com
test.my-app.com
my-app.com

Using webmanifest.json we want to identify each version of our app, but we don't want to create a different webmanifest for each build. So we used these values:

"scope": "./",
"start_url": "./",
"id": "./",

My questions are:

Are these values valid? Will the browser/ device automatically resolve all values to the actual URL of the app?



from Is it possible to use relative paths for scope, start_url and id in webmanifest.json?

No comments:

Post a Comment