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

Enable CORS (Cross-Origin Resource Sharing) for the api #45

Closed
im-prakher opened this issue Jun 11, 2020 · 1 comment
Closed

Enable CORS (Cross-Origin Resource Sharing) for the api #45

im-prakher opened this issue Jun 11, 2020 · 1 comment
Assignees
Labels
backend good first issue Good for newcomers

Comments

@im-prakher
Copy link
Contributor

The aim of this issue is to enable CORS (Cross-Origin Resource Sharing) for the application to allow resource sharing from other origins. Actually, the frontend application(currently under-development) needs to post data to the YABA app but it isn't allowed as of cross-origin policy, for which we need to enable CORS in the YABA app.

It can be done using Flask-CORS extension
https://flask-cors.readthedocs.io/en/latest/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants