Open atflick opened 2 years ago
Hey @atflick , thanks a lot for detailing your issue, appreciate it!
I guess it would be possible indeed to exclude the external assets as an opt-in :-) I'll also give it a check in the week and let you know whenever I got something
Hi there, thanks for making this plugin, it really makes adding a service worker a breeze. However, I am having a few issues with it.
For one, it seems there is some issue with CORS or the CSP for fetching assets from external sources such as Google and Zendesk, see this screenshot below...
Not sure if I am doing something wrong here or if it would be possible to add a flag to each cache option to exclude external resources. I think I understand your code enough to possibly make a pull request. This only happens in Firefox it seems and from what I understand it may be something with XSS blocking. Perhaps you know a way to fix that as well?
this is what my config looks like
Thanks again!