Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 2cab026

Browse files
committed
fix(core): not applying cors to POST /actors
1 parent b18a5c6 commit 2cab026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rivetkit/src/manager/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export function createManagerRouter(
169169
// PUT /actors
170170
{
171171
const route = createRoute({
172-
cors: [cors],
172+
middleware: [cors],
173173
method: "put",
174174
path: "/actors",
175175
request: {

0 commit comments

Comments
 (0)