CORS #210
Replies: 3 comments 2 replies
-
I don't think they should 🤷 you'll need to create your own middleware |
Beta Was this translation helpful? Give feedback.
-
I guess I don't really understand... and will have to do some homework on fastapi. Setting the cors_origins and cors_methods does nothing then? |
Beta Was this translation helpful? Give feedback.
-
Ok. I guess my mistake was not including preflight options in the request and thus CORS headers were not returned. Will need to learn a bit more about that. As per your question... we are using PGSTAC postgres. Thanks so much for your time. |
Beta Was this translation helpful? Give feedback.
-
All CORS origins seem to be allowed by default but cors headers are not returned in the response. I messed around a bit with the Middleware to no avail... Does anyone know if there is a trick to this or is it an issue?
Beta Was this translation helpful? Give feedback.
All reactions