add engine config to apollo server params (#7244)

Signed-off-by: harimkims <harimkims@gmail.com>
This commit is contained in:
Kim, Harim 2020-07-29 20:01:32 +09:00 committed by GitHub
parent 4994ca26fd
commit b670db3c57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.