Added share playground feature

This commit is contained in:
Jelmer Visser 2019-10-14 10:53:59 +02:00 committed by Alexandre BODIN
parent 16bd271eee
commit db91607dbc
2 changed files with 3 additions and 1 deletions

View File

@ -4,5 +4,6 @@
"shadowCRUD": true,
"playgroundAlways": false,
"depthLimit": 7,
"amountLimit": 100
"amountLimit": 100,
"shareEnabled": false
}

View File

@ -92,6 +92,7 @@ module.exports = strapi => {
) {
serverParams.playground = {
endpoint: strapi.plugins.graphql.config.endpoint,
shareEnabled: strapi.plugins.graphql.config.shareEnabled
};
serverParams.introspection = true;