Open deepakchaurasia01 opened 6 years ago
@perinikhil npm run development : is the command over which server is getting started
'npm run eevelopment' builds and runs the server on 'localhost', and since localhost is considered a secure server by service workers, they execute even though it's on http protocol :)
https://www.chromium.org/blink/serviceworker/service-worker-faq
Read the answer to the third question "Q: I get an error message about "Only secure origins are allowed". Why?" which clearly says so 😃
Could you please give me more details on on which command you're running to start the server?