diff --git a/src/app.module.ts b/src/app.module.ts index 5280586aa..001452a92 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -52,7 +52,7 @@ import { MintersModuleGraph } from './modules/minters/minters.module'; driver: ApolloDriver, imports: [CommonModule], useFactory: async () => ({ - csrfPrevention: false, + headers: { 'Apollo-Require-Preflight': true }, autoSchemaFile: 'schema.gql', introspection: process.env.NODE_ENV !== 'production', playground: false,