Skip to content

Commit e758de3

Browse files
authored
Allowing cors (#86)
1 parent ebf8e98 commit e758de3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const yoga = createYoga<Env>({
9191
};
9292
},
9393
cors: {
94-
origin: APP_ENV === "production" ? [] : ["*"],
94+
origin: ["*"],
9595
credentials: true,
9696
methods: ["POST"],
9797
},

0 commit comments

Comments
 (0)