Skip to content

Commit

Permalink
Add exctra header
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Sep 11, 2023
1 parent d64dee5 commit cfc1684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cfc1684

Please sign in to comment.