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?
When you define
scopeall the paths will be relative to that.referring to developer.mozilla.org:
It also says:
So don't worry. this is legit and will work fine.