Skip to content

Commit

Permalink
fix(core): Configure GraphQL Playground to include credentials
Browse files Browse the repository at this point in the history
Closes #107
  • Loading branch information
michaelbromley committed May 31, 2019
1 parent a4b7e07 commit 4429730
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/core/src/api/config/configure-graphql-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ async function createGraphQLOptions(
uploads: {
maxFileSize: configService.assetOptions.uploadMaxFileSize,
},
playground: true,
playground: {
settings: {
'request.credentials': 'include',
} as any,
},
debug: true,
context: (req: any) => req,
extensions: [
Expand Down

0 comments on commit 4429730

Please sign in to comment.