vendredi 30 mars 2018

manifest.json of web app in sub directory not detected

I have my localhost server running at root folder and my webapp folder lies inside this root folder.

http://127.0.0.1:8887/ -> root

http://127.0.0.1:8887/webapp -> root/webapp

The webapp contains it's index.html which links to manifest.json file in same folder like this.

<link rel="manifest" href="./manifest.json">

The manifest file of webapp is not being detected by Chrome in this setup.

manifest.json is detected only if localhost server is started at webapp folder.

http://127.0.0.1:8887/ -> webapp

I want it work other way, how to do that?




Aucun commentaire:

Enregistrer un commentaire