Skip to content

Commit

Permalink
feat(api-gateway): Enable GraphiQL header editor to pass security con…
Browse files Browse the repository at this point in the history
…text in dev mode (#3779)
  • Loading branch information
lvauvillier committed Dec 7, 2021
1 parent 3147fe4 commit 8c335a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-api-gateway/src/gateway.ts
Expand Up @@ -300,7 +300,7 @@ export class ApiGateway {
req,
apiGateway: this
},
graphiql: getEnv('nodeEnv') !== 'production'
graphiql: getEnv('nodeEnv') !== 'production' ? { headerEditorEnabled: true } : false,
})(req, res);
});

Expand Down

0 comments on commit 8c335a2

Please sign in to comment.