Skip to content

Commit c6c41ea

Browse files
NathanFlurryMasterPtato
authored andcommitted
fix(core): not applying cors to POST /actors
1 parent d96e775 commit c6c41ea

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)