Update more configs

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
This commit is contained in:
Alexandre Bodin 2020-05-25 14:38:54 +02:00
parent fc6245b2d5
commit 02fcbf8f45
2 changed files with 15 additions and 12 deletions

View File

@ -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. 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 ### 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 ## Rebuilding your administration panel

View File

@ -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. You can edit these configurations by creating following file.
**Path —** `./extensions/graphql/config/settings.json` **Path —** `./config/plugins.js`
```json ```js
{ module.exports = {
"endpoint": "/graphql", //
"tracing": false, graphql: {
"shadowCRUD": true, endpoint: '/graphql',
"playgroundAlways": false, tracing: false,
"depthLimit": 7, shadowCRUD: true,
"amountLimit": 100 playgroundAlways: false,
} depthLimit: 7,
amountLimit: 100,
},
};
``` ```
## Query API ## Query API