issue with the offline plugin with CDN
[issue link]Hello,
I’m facing a problem with the offline plugin while hosting my assets in a CDN it’s giving me this error.
Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The origin of the provided scriptURL (‘https://cdn.domain.com’) does not match the current origin (‘https://domain.com’).
How can i fix that should we host the sw.js in the /static folder if so can we do that automatically ?