Is it possible enable CORS #629
Replies: 4 comments 5 replies
-
Hello! Sorry nobody answered your question before. It is not possible to modify CORS for now, sorry :( But you could use a reverse proxy (Nginx for example) to set headers like Access-Control-Allow-Origin :) |
Beta Was this translation helpful? Give feedback.
-
@CaroFG , one of meilisearch's philosophies is to improve the developer experience. This way presented in the thread above does not work for those deploying Meilisearch using Docker. I use Meilisearch Docker deployed in Render, and it would be handy to have an environment variable to configure CORS, like:
|
Beta Was this translation helpful? Give feedback.
-
Not sure if this has now been enabled for self-hosted instances, but I have a similar need for MeiliSearch Cloud. Currently the Meili Servers set Access-Control-Allow-Origin to *, which is great until someone opens your frontend on Safari. Safari with its strict security controls tends to block these requests sporadically, and you could say they should do a better job, but it is what it is, and people suggest that chrome will follow. Ask: P.S. I have noticed the issue with another firebase API I use as well, so it really seems like a matter of setting the right header. |
Beta Was this translation helpful? Give feedback.
-
I think we should change the category to "feedback and feature proposal", wdyt @gmourier, @macraig ? |
Beta Was this translation helpful? Give feedback.
-
I didn't find any information about CORS settings in documentation :(
Is it possible to modify and allow concrete domains?
Beta Was this translation helpful? Give feedback.
All reactions