Skip to content

Commit e41da61

Browse files
committed
uptate
1 parent e70c1f1 commit e41da61

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/index.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,18 @@ export const yoga = createYoga<Env>({
9090
: `{}`,
9191
};
9292
},
93-
cors: {
94-
origin: ["*"],
95-
credentials: true,
96-
methods: ["POST", "GET", "OPTIONS"],
97-
},
93+
// cors: {
94+
// origin: ["*"],
95+
// credentials: true,
96+
// methods: ["POST", "GET", "OPTIONS"],
97+
// },
9898
schema,
9999
logging: "debug",
100100
plugins: [
101-
APP_ENV === "production" &&
102-
useCSRFPrevention({
103-
requestHeaders: ["x-graphql-csrf-token"],
104-
}),
101+
// APP_ENV === "production" &&
102+
// useCSRFPrevention({
103+
// requestHeaders: ["x-graphql-csrf-token"],
104+
// }),
105105
APP_ENV === "production" && useMaskedErrors(),
106106
useImmediateIntrospection(),
107107
(APP_ENV === "production" || APP_ENV === "staging") &&

0 commit comments

Comments
 (0)