mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 22:23:10 +00:00
Merge pull request #2595 from sajjad-shirazy/patch-2
In `production` GraphQL Playground doesn't load the schema
This commit is contained in:
commit
89984e46b0
@ -174,6 +174,8 @@ module.exports = strapi => {
|
||||
serverParams.playground = {
|
||||
endpoint: strapi.plugins.graphql.config.endpoint,
|
||||
};
|
||||
|
||||
serverParams.introspection = true;
|
||||
}
|
||||
|
||||
const server = new ApolloServer(serverParams);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user