I try to create simple PWA in PhpStorm. I have 2 files:
- home.html
- manifest.json
File home.html
contains link to manifest.json
:
<link rel="manifest" href="/manifest.json">
When I open home.html
using PhpStorm built-in web server I have error 404 for manifest.json
in Chrome console:
Failed to load resource: the server responded with a status of 404 (Not Found)
I can open home.html
in browser from context menu:
but I haven't this option for manifest.json
:
Can I configure built-in web server in PhpStorm to work with JSON or this is not possible?