Skip to content

Conversation

@rragundez
Copy link
Contributor

@rragundez rragundez commented Oct 22, 2025

Add CORS middleware by default as it is best practice. Then make it flexible in order for the user to follow advice in docs when in staging or production and instead of going into the source code, manipulate the CORS origins, methods and headers via the environment variables.

NOTE: I have not tested fully this change. I can do it tomorrow or if you can help validate, that would be great.

@rragundez rragundez changed the title [WIP] Add CORS middleware and update documentation Add CORS middleware and update documentation Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant