Merge pull request #2595 from sajjad-shirazy/patch-2

In `production` GraphQL Playground doesn't load the schema
This commit is contained in:
Jim LAURIE 2019-01-23 11:14:27 +01:00 committed by GitHub
commit 89984e46b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,6 +174,8 @@ module.exports = strapi => {
serverParams.playground = {
endpoint: strapi.plugins.graphql.config.endpoint,
};
serverParams.introspection = true;
}
const server = new ApolloServer(serverParams);