Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OPTIONS method and X-CSRF-Token to middleware
The OPTIONS HTTP method has been added to the 'Access-Control-Allow-Methods' in the middleware. Additionally, 'X-CSRF-Token' is now included in the 'Access-Control-Allow-Headers'. These changes ensure more robust handling of CORS and CSRF protection.
- Loading branch information