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

Add CORS policy for loading project files from url #35

Open
devarsh-mavani-19 opened this issue Mar 31, 2022 · 1 comment
Open

Add CORS policy for loading project files from url #35

devarsh-mavani-19 opened this issue Mar 31, 2022 · 1 comment

Comments

@devarsh-mavani-19
Copy link

I saw the code and it has support for loading aia files from a url. but when I try it for example
https://unchive.kodular.io/?url=https://github.com/devarsh-mavani-19/testingaiafiles/raw/main/newProject.aia
it will print CORS errors in console.
I know it might not be safe and not everyone wants it, but if anyone can help me enable CORS from all sources it will be really helpful. I am new to python and am not aware about its API.

@pavi2410
Copy link
Member

image

The CORS error comes from GitHub, and it is not something we can tweak.

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