-
Notifications
You must be signed in to change notification settings - Fork 53
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
Default web worker URL to online version #50
Comments
This is a bit complicated because it's loading the Web Worker using some webpack plugin, so we don't have direct access to the URL |
This might get even more complicated because the HTMLifier relies on parsing the bundled code to splice in worker code from a string |
Hmm, perhaps it could be loaded using the HTMLifier's way of URL.createObjectURL'ing the worker code, but this is just getting increasingly hacky This currently prevents the offline version from using extensions I believe though, so I won't close this |
https://canary.discord.com/channels/@me/818068592708550696/849688330505682946
If the user's on a file:// URL or maybe if loading the local web worker fails, then try the online version
The text was updated successfully, but these errors were encountered: