mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 11:08:14 +00:00
Update more configs
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
This commit is contained in:
parent
fc6245b2d5
commit
02fcbf8f45
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user