From 02fcbf8f452344c796e662e85ee5bc4c52754d39 Mon Sep 17 00:00:00 2001 From: Alexandre Bodin Date: Mon, 25 May 2020 14:38:54 +0200 Subject: [PATCH] Update more configs Signed-off-by: Alexandre Bodin --- .../migration-guide-beta.20-to-3.0.0.md | 4 ++-- docs/3.0.0-beta.x/plugins/graphql.md | 23 +++++++++++-------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/docs/3.0.0-beta.x/migration-guide/migration-guide-beta.20-to-3.0.0.md b/docs/3.0.0-beta.x/migration-guide/migration-guide-beta.20-to-3.0.0.md index c32c90f4bf..9b1f40d709 100644 --- a/docs/3.0.0-beta.x/migration-guide/migration-guide-beta.20-to-3.0.0.md +++ b/docs/3.0.0-beta.x/migration-guide/migration-guide-beta.20-to-3.0.0.md @@ -203,7 +203,7 @@ module.exports = { Adding a sub path to the url doesn't mean your api is going to be prefixed. You will need to host your app behind a proxy and remove the prefix so strapi receives request like if they where made on the root `/` path. ::: -You can see this option in action in the following [deployment guide](../deployment/nginx-proxy.md). +You can see this option in action in the following [deployment guide](../getting-started/deployment.md#optional-software-guides). ### Admin path @@ -236,7 +236,7 @@ module.exports = { }; ``` -You can see this option in action in the following [deployment guide](../deployment/nginx-proxy.md). +You can see this option in action in the following [deployment guide](../getting-started/deployment.md#optional-software-guides). ## Rebuilding your administration panel diff --git a/docs/3.0.0-beta.x/plugins/graphql.md b/docs/3.0.0-beta.x/plugins/graphql.md index 1a82989a1c..d3e3c6fc43 100644 --- a/docs/3.0.0-beta.x/plugins/graphql.md +++ b/docs/3.0.0-beta.x/plugins/graphql.md @@ -50,17 +50,20 @@ You can also enable the Apollo server tracing feature, which is supported by the You can edit these configurations by creating following file. -**Path —** `./extensions/graphql/config/settings.json` +**Path —** `./config/plugins.js` -```json -{ - "endpoint": "/graphql", - "tracing": false, - "shadowCRUD": true, - "playgroundAlways": false, - "depthLimit": 7, - "amountLimit": 100 -} +```js +module.exports = { + // + graphql: { + endpoint: '/graphql', + tracing: false, + shadowCRUD: true, + playgroundAlways: false, + depthLimit: 7, + amountLimit: 100, + }, +}; ``` ## Query API