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

Service worker registration is inline #8

Open
devgeeks opened this issue Aug 25, 2017 · 1 comment
Open

Service worker registration is inline #8

devgeeks opened this issue Aug 25, 2017 · 1 comment

Comments

@devgeeks
Copy link
Contributor

It would be a lot better if we could have that registration src as a file so that we could remove 'unsafe-inline' from the CSP to protect from XSS, etc.

@devgeeks
Copy link
Contributor Author

devgeeks commented Sep 11, 2017

Another possibility would be creating a build time hash to allow the inline service worker.

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

No branches or pull requests

1 participant