mirror of
https://github.com/strapi/strapi.git
synced 2025-10-18 19:43:22 +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.
|
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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user