mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
disable introspection when GRAPHIQL is disabled
This commit is contained in:
parent
8a2d64e609
commit
8b3f6ea339
@ -74,6 +74,7 @@ const createServer = async (context: any = serverContext): Promise<any> => {
|
||||
const apollo = new ApolloServer({
|
||||
schema: await schema(),
|
||||
playground: CONFIG.GRAPHIQL,
|
||||
introspection: CONFIG.GRAPHIQL,
|
||||
context,
|
||||
plugins,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user