-
Notifications
You must be signed in to change notification settings - Fork 44
chore(core): simplify cors config #1299
chore(core): simplify cors config #1299
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @NathanFlurry's task —— View job PR Review: Simplify CORS Config
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
More templates
@rivetkit/actor
@rivetkit/cloudflare-workers
@rivetkit/core
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
commit: |
9003684 to
e5e91b7
Compare
|
Claude finished @NathanFlurry's task —— View job PR Review: Simplify CORS ConfigTodo List:
Review FindingsThis PR simplifies the CORS middleware configuration in the manager router by removing unnecessary middleware composition and route-specific CORS declarations. Here's my analysis: ✅ Code Quality & Best PracticesPositive Changes:
Before: const cors = runConfig.cors
? corsMiddleware(runConfig.cors)
: createMiddleware((_c, next) => next());After: if (runConfig.cors) {
router.use("*", corsMiddleware(runConfig.cors));
}✅ Functionality & BehaviorPreserved Behavior:
Removed Redundancy:
|
|
Claude finished @NathanFlurry's task —— View job PR Review: Simplify CORS ConfigTodo List:
Review FindingsThis PR simplifies the CORS middleware configuration in the manager router by removing unnecessary middleware composition and route-specific CORS declarations. Here's my analysis: ✅ Code Quality & Best PracticesPositive Changes:
Before: const cors = runConfig.cors
? corsMiddleware(runConfig.cors)
: createMiddleware((_c, next) => next());After: if (runConfig.cors) {
router.use("*", corsMiddleware(runConfig.cors));
}✅ Functionality & BehaviorPreserved Behavior:
Removed Redundancy:
|


No description provided.