From b670db3c57b8850d976da5cf0df365cde97799ba Mon Sep 17 00:00:00 2001 From: "Kim, Harim" Date: Wed, 29 Jul 2020 20:01:32 +0900 Subject: [PATCH] add engine config to apollo server params (#7244) Signed-off-by: harimkims --- packages/strapi-plugin-graphql/hooks/graphql/index.js | 1 + 1 file changed, 1 insertion(+) 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.