Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how is the Server worker working on http request, Can you please elaborate #12

Open
deepakchaurasia01 opened this issue Jul 19, 2018 · 4 comments

Comments

@deepakchaurasia01
Copy link

No description provided.

@perinikhil
Copy link
Contributor

Could you please give me more details on on which command you're running to start the server?

@nkapoor-jfl
Copy link

@perinikhil
npm run development : is the command over which server is getting started

@perinikhil
Copy link
Contributor

'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 :)

@perinikhil
Copy link
Contributor

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 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants