-
Notifications
You must be signed in to change notification settings - Fork 66
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
blob:
worker fails CSP
#374
Comments
I ended up adding
This library should be refactored to not rely on data URIs like this. |
I ended up creating a fork to change the rollup build so wasmboy will fit within my strict CSP: https://gitlab.com/soapbox-pub/wasmboy And now it's possible to play Game Boy games on Mastodon: https://gleasonator.com/@alex/posts/Ac5HNKguMNj8AkmF0a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like the worker is being loaded as a blob URI. To get around it, I need to add
worker-src blob:
to my CSP, which I'm not sure I want to do. I wonder if we can load it from a regular URL.The text was updated successfully, but these errors were encountered: