Skip to content

Cross-Origin Request Blocked: pyodide import fails #6

@Hiisi5

Description

@Hiisi5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions