mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +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,
|
||||
bodyParserConfig: true,
|
||||
introspection: _.get(strapi.plugins.graphql, 'config.introspection', true),
|
||||
engine: _.get(strapi.plugins.graphql, 'config.engine', false),
|
||||
};
|
||||
|
||||
// Disable GraphQL Playground in production environment.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user