Skip to content
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

Add CORS middleware BEFORE handing off request #50

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Conversation

chennisden
Copy link
Contributor

This prevented false CORS errors that arose really because the server raised an exception and trying to immediately return a response (preventing the CORS middleware from being added in the first place)

This prevented false CORS errors that arose really because the server
raised an exception and trying to immediately return a response
(preventing the CORS middleware from being added in the first place)
@codekansas codekansas self-requested a review June 4, 2024 23:51
Copy link
Member

@codekansas codekansas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, this is actually a good idea. good find

@chennisden chennisden merged commit acc0475 into master Jun 5, 2024
1 check passed
@chennisden chennisden deleted the middleware branch June 5, 2024 00:20
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.

2 participants