Skip to content

Commit d389bdd

Browse files
committed
fix(core): not applying cors to POST /actors (#1302)
1 parent ec08d57 commit d389bdd

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)