PR-595168: Updating packages.

This commit is contained in:
2023-01-25 15:54:50 +00:00
parent 5c4cbdd50a
commit 9c5ece449a
3 changed files with 882 additions and 850 deletions

View File

@ -35,7 +35,13 @@ app
.use('/graphql', GraphQLserver);//Server of Graphql
if(config.PLAYGROUND_GRAPHQL === true){
app.get('/playground', expressPlayground({ endpoint: '/graphql' }));
app.get('/playground', expressPlayground({
endpoint: '/graphql',
subscriptionEndpoint: '/graphql',
settings: {
'request.credentials': 'include', //Include Credentials for playground
},
}));
}
// DO NOT DO app.listen() unless we're testing this directly