-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Support CORS headers #1687
Comments
This was referenced Oct 29, 2021
tshemsedinov
added a commit
that referenced
this issue
Mar 20, 2022
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At this moment, API on impress has fixed headers for CORS. This is not always appropriate especially if we want to restrict requests from other websites.
Let's put in the server config the ability to set the Access-Control-Allow-Origin header. For example, adding to the server config:
Then in the metacom we can use the values from cors.origin in the response headers.
The text was updated successfully, but these errors were encountered: