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

Cross-Origin Request Blocked: pyodide import fails #6

Open
Hiisi5 opened this issue Dec 1, 2020 · 0 comments
Open

Cross-Origin Request Blocked: pyodide import fails #6

Hiisi5 opened this issue Dec 1, 2020 · 0 comments

Comments

@Hiisi5
Copy link

Hiisi5 commented Dec 1, 2020

Hi there. Great project, thank you for sharing!
I wasn't able to run it on my machine. It fails to import pyodide with CORS error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pyodide.cdn.iodide.io/pyodide.asm.wasm. (Reason: CORS request did not succeed).
I guess you could have it fixed by adding vue.config.js with proxy settings:
stackoverflow

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