We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seems like the file might need to be prefetched by default? Not really sure.
An unknown error occurred when fetching the script. service-worker.js:1
It errs on importScripts('sw-toolbox.js');. I tried adding '/sw-toolbox.js' to the prefetch but that doesn't fix it.
importScripts('sw-toolbox.js');
'/sw-toolbox.js'
The text was updated successfully, but these errors were encountered:
@knownasilya I believe that any script brought in using importScripts should automatically be cached alongside the service worker. This article here indicates that is the case: http://www.html5rocks.com/en/tutorials/service-worker/introduction/
I'm not sure why you are encountering this error. Do you not see the error when you are online?
Sorry, something went wrong.
Closing due to no response.
Ops, yes I do see the error when online. 😄
No branches or pull requests
Seems like the file might need to be prefetched by default? Not really sure.
It errs on
importScripts('sw-toolbox.js');
. I tried adding'/sw-toolbox.js'
to the prefetch but that doesn't fix it.The text was updated successfully, but these errors were encountered: