add CORS preflight example and bump deps#49
Conversation
## Summary - Install and configure `@convex-dev/eslint-plugin` - Auto-fix `explicit-table-ids` violations (adds table name as first arg to `db.get`/`db.patch`/`db.delete`/`db.replace`) - Add eslint-disable annotations where table names are genuinely dynamic 🤖 Generated with [Claude Code](https://claude.com/claude-code)
commit: |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: get-convex/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis pull request addresses a CORS preflight issue by adding an OPTIONS route handler example to the README and updating the codebase to use explicit table names in Convex database operations. The README now documents how to properly respond to CORS preflight requests for the ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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 |

Fixes #17
CORS Docs
Adds an
OPTIONSroute handler for/chat-streamto support CORS preflight requests. This allows browsers to makePOSTrequests to the Convex deployment when the app is served from a different origin. The handler responds with appropriateAccess-Control-*headers permittingPOSTrequests withContent-Type,Digest, andAuthorizationheaders, with a 24-hour preflight cache.