Closed patriklindstrom closed 6 years ago
It could have to do that I am not using https https://developers.google.com/web/fundamentals/primers/service-workers/
Trying to fix that https://www.sitepoint.com/how-to-use-ssltls-with-node-js/
Service workers only start on trusted sites using HTTPS protocol . The only way to make a Service Worker work over HTTP is by addressing it from localhost.
Example: http://localhost:8080
I have tryed to run itlocally with npm run start and also with nodejs /express. But after checking the (Chrome F12 - Application ) It is not registred.
Here I am running it with Node server.js See eg http://cb-dev1.northeurope.cloudapp.azure.com:3003 .
See forked repo https://github.com/patriklindstrom/zuix-html-pwa/tree/feature/restyle