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

Chrome blocks Workers #36

Open
jalovisko opened this issue Jun 14, 2021 · 1 comment
Open

Chrome blocks Workers #36

jalovisko opened this issue Jun 14, 2021 · 1 comment

Comments

@jalovisko
Copy link

I decided to try webgcode locally using Chrome but there was an error in index.html saying

Uncaught DOMException: Failed to construct 'Worker': Script at 'file:///home/jalovisko/dev/webgcode/webapp/worker.js#3DView' cannot be accessed from origin 'null'.

Searching revealed that Workers don't work locally in Chrome, and indeed the page loads nice and clean in Firefox. However, I see here on Stack Overfloww a workaround for Chrome which I think sounds easy to implement. I can fork and fix this one if it's ok.

@nraynaud
Copy link
Owner

Hi Nikita, it is absolutely no problem, please do.

Cheers,
Nicolas.

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

2 participants