nico-martin / spa-server

"SPA Server" is a NodeJS library that starts a production ready NodeJS Webserver, that mostly serves static files and also allows you to manipulate any non-static response (for example HTTP Headers and meta tags).
MIT License
0 stars 0 forks source link

service worker compat #6

Open nico-martin opened 4 years ago

nico-martin commented 4 years ago

If a service worker is used it could be that the index.html is used as a navigation fallback. I guess the best thing would be to have an "empty" index.html in the app cache as a fallback

nico-martin commented 4 years ago

This is more of a documentation issue. I will see how this works once I've implemented it to nico.dev