Search code examples
progressive-web-apps

Does a PWA's root file have to be index.html?


Can a PWA have e.g. indexPWA.html as it's root file, or does it always have to be index.html?

I've been using indexPWA.html for testing but when I installed it as a PWA the installed PWA is loading my index.html code, not indexPWA.html. Just wanted to check here if it will always load indext.html as default before I go down too many testing rabbitholes.

Thank you


Solution

  • Yes, the file can be something other than index.html. Do you have indexPWA.html set as your start_url ?