mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 12:05:29 +08:00
995c514336
Occasionally there will be a misconfigured CORS rule or a different
network failure when loading one of the media optimization WASM scripts.
This commit handles load failures and sends a new installFailed message
from the service worker, so that we don't error and hold up the rest
of the uploads if this occurs; the worker will just not process anything
and will keep trying to install itself with subsequent uploads until it succeeds.
This commit also removes the redundant useUppy variable in the worker
this should have been removed a while ago in
|
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |