-
Notifications
You must be signed in to change notification settings - Fork 607
Make CORS headers configurable #541
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
Comments
How can we configure CORS for the current version? I see #539 is closed. |
Tagging @vishalbollu who has spent the most time on CORS. I believe @wise-east is running v0.14 (please correct me if I'm wrong) |
@deliahu Yes, I'm using v0.14 for now. Thank you. |
@wise-east Issue #539 was addressed by returning a blanket
The ability to specify custom CORS headers as described in this ticket hasn't been implemented yet. Do you think returning responses with the headers above will satisfy your current requirements in the meantime? Thanks for bringing this up. I just looked through our serving code and I think I found a bug in Cortex versions >= 0.14.0 that prevents the server from handling CORS correctly. Specifically, I don't think the server responds correctly to OPTIONS requests. We will investigate this issue more thoroughly. |
Forgive my ignorance, I'm not sure what you mean by If the problem is with versions >=0.14.0, and if I want to be able to handle CORS now, is it possible to do so by using a previous version (<0.14.0)? If so, can a newly installed cortex pick up the cluster I have set up with the current installation of cortex after I uninstall my current installation? Or will I have to do |
@wise-east Apologies, what I meant by You should be able to get it working with Cortex version <0.14.0. If it is not too urgent, I would recommend waiting because we are looking to release 0.15.1 that should address the CORS issue and a CLI bug fix either today or tomorrow.
|
I see. I was actually able to bypass the issues for now with the guide provided to me at https://www.cortex.dev/v/master/guides/api-gateway by @deliahu |
@wise-east sounds good! We just release v0.15.1 in case you want to upgrade, just letting you know |
Closing since this is now supported |
Description
Option 1:
Option 2:
The text was updated successfully, but these errors were encountered: