diff --git a/packages/strapi-plugin-graphql/hooks/graphql/index.js b/packages/strapi-plugin-graphql/hooks/graphql/index.js index ee5f2e324d..8633b3a556 100644 --- a/packages/strapi-plugin-graphql/hooks/graphql/index.js +++ b/packages/strapi-plugin-graphql/hooks/graphql/index.js @@ -118,6 +118,7 @@ module.exports = strapi => { cors: false, bodyParserConfig: true, introspection: _.get(strapi.plugins.graphql, 'config.introspection', true), + engine: _.get(strapi.plugins.graphql, 'config.engine', false), }; // Disable GraphQL Playground in production environment.