Added GraphiQL disable.

This commit is contained in:
DebaucheryLibrarian
2023-06-19 03:28:55 +02:00
parent 123d4155b4
commit 18f75595da
4 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ function initPostgraphile(credentials) {
// watchPg: true,
disableDefaultMutations: true,
dynamicJson: true,
graphiql: true,
graphiql: config.database.graphiql,
enhanceGraphiql: true,
allowExplain: () => true,
// simpleCollections: 'only',