mirror of
https://github.com/strapi/strapi.git
synced 2025-11-15 09:39:15 +00:00
add engine config to apollo server params (#7244)
Signed-off-by: harimkims <harimkims@gmail.com>
This commit is contained in:
parent
4994ca26fd
commit
b670db3c57
@ -118,6 +118,7 @@ module.exports = strapi => {
|
|||||||
cors: false,
|
cors: false,
|
||||||
bodyParserConfig: true,
|
bodyParserConfig: true,
|
||||||
introspection: _.get(strapi.plugins.graphql, 'config.introspection', true),
|
introspection: _.get(strapi.plugins.graphql, 'config.introspection', true),
|
||||||
|
engine: _.get(strapi.plugins.graphql, 'config.engine', false),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Disable GraphQL Playground in production environment.
|
// Disable GraphQL Playground in production environment.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user