fix: specify the Access-Control-Allow-Methods header#70
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughModified CORS configuration in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🎉 This PR is included in version 8.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This is the cause of David's issue with ODC. By default, Fastify enable cors only enables it for GET, POST, HEAD. For unknown reasons, this seems to cause no issues on Mac. In production, it is not an issue as the site is served from the same origin as api due to reverse proxy setip.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.