Skip to content

Commit 32648fe

Browse files
committed
fix(core): not applying cors to POST /actors
1 parent ac99015 commit 32648fe

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)