diff --git a/packages/strapi-plugin-graphql/config/settings.json b/packages/strapi-plugin-graphql/config/settings.json index c292874f13..07ddc3fdcc 100644 --- a/packages/strapi-plugin-graphql/config/settings.json +++ b/packages/strapi-plugin-graphql/config/settings.json @@ -4,5 +4,6 @@ "shadowCRUD": true, "playgroundAlways": false, "depthLimit": 7, - "amountLimit": 100 + "amountLimit": 100, + "shareEnabled": false } diff --git a/packages/strapi-plugin-graphql/hooks/graphql/index.js b/packages/strapi-plugin-graphql/hooks/graphql/index.js index 7dbe3fe364..998a3e53a6 100644 --- a/packages/strapi-plugin-graphql/hooks/graphql/index.js +++ b/packages/strapi-plugin-graphql/hooks/graphql/index.js @@ -92,6 +92,7 @@ module.exports = strapi => { ) { serverParams.playground = { endpoint: strapi.plugins.graphql.config.endpoint, + shareEnabled: strapi.plugins.graphql.config.shareEnabled }; serverParams.introspection = true;