Skip to content

Conversation

@zhangqiu-ai
Copy link

This update introduces the CORSMiddleware to the FastAPI application, allowing cross-origin requests from any source. The middleware configuration permits all methods and headers, enhancing the application's flexibility for client interactions.

This update introduces the CORSMiddleware to the FastAPI application, allowing cross-origin requests from any source. The middleware configuration permits all methods and headers, enhancing the application's flexibility for client interactions.
Copy link
Author

@zhangqiu-ai zhangqiu-ai left a comment

Choose a reason for hiding this comment

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

ok

@zhangqiu-ai
Copy link
Author

ok

@ayancey
Copy link
Collaborator

ayancey commented Dec 5, 2024

Not a bad idea to add this functionality, but we should be encouraging the use of a reverse proxy.

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