Skip to content
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

Can't Load Directly from CDN #4

Closed
rameshvarun opened this issue Jul 8, 2023 · 1 comment
Closed

Can't Load Directly from CDN #4

rameshvarun opened this issue Jul 8, 2023 · 1 comment

Comments

@rameshvarun
Copy link
Owner

It would be great if you could simply import the scripts from a CDN, but by default, this doesn't seem to be possible since workers from remote domains can't be loaded without explicit CSP headers (which many people can't control).

There are maybe some workarounds but if there's a chance browsers could break them in the future, the best thing to do is make it easy for people to download the JS / CSS into their own site's folder.

@rameshvarun
Copy link
Owner Author

Now working using blob workers... Hopefully won't break in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant