mirror of
https://github.com/strapi/strapi.git
synced 2025-12-06 12:01:52 +00:00
Remove hook and middleware section from configurations guide
This commit is contained in:
parent
ad1215ee0a
commit
d23f680190
@ -51,18 +51,6 @@ These configurations are accessible through `strapi.config.backendURL` and `stra
|
|||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
## Hook
|
|
||||||
|
|
||||||
> Please refer to the [advanced hooks settings for more informations](../advanced/hooks.md).
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
## Middleware
|
|
||||||
|
|
||||||
> Please refer to the [advanced middlewares settings for more informations](../advanced/middlewares.md).
|
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
## Language
|
## Language
|
||||||
|
|
||||||
As described in the [i18n documentation](../plugins/development.md#i18n), Strapi includes an internationalization system. This is especially useful to translate API messages (errors, etc.).
|
As described in the [i18n documentation](../plugins/development.md#i18n), Strapi includes an internationalization system. This is especially useful to translate API messages (errors, etc.).
|
||||||
@ -171,6 +159,7 @@ Most of the application's configurations are defined by environment. It means th
|
|||||||
|
|
||||||
> Note: You can access to the config of the current environment through `strapi.config.currentEnvironment`.
|
> Note: You can access to the config of the current environment through `strapi.config.currentEnvironment`.
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
## Database
|
## Database
|
||||||
|
|
||||||
@ -255,6 +244,8 @@ Most of the application's configurations are defined by environment. It means th
|
|||||||
|
|
||||||
> Please refer to the [dynamic configurations section](#dynamic-configurations) to use global environment variable to configure the databases.
|
> Please refer to the [dynamic configurations section](#dynamic-configurations) to use global environment variable to configure the databases.
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
## Request
|
## Request
|
||||||
|
|
||||||
**Path —** `./config/environments/**/request.json`.
|
**Path —** `./config/environments/**/request.json`.
|
||||||
@ -279,6 +270,8 @@ Most of the application's configurations are defined by environment. It means th
|
|||||||
|
|
||||||
> Note: The session doesn't work with `mongo` as a client. The package that we should use is broken for now.
|
> Note: The session doesn't work with `mongo` as a client. The package that we should use is broken for now.
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
## Response
|
## Response
|
||||||
|
|
||||||
**Path —** `./config/environments/**/response.json`.
|
**Path —** `./config/environments/**/response.json`.
|
||||||
@ -288,6 +281,8 @@ Most of the application's configurations are defined by environment. It means th
|
|||||||
- `responseTime`
|
- `responseTime`
|
||||||
- `enabled` (boolean): Enable or not `X-Response-Time header` to response. Default value: `false`.
|
- `enabled` (boolean): Enable or not `X-Response-Time header` to response. Default value: `false`.
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
## Security
|
## Security
|
||||||
|
|
||||||
**Path —** `./config/environments/**/security.json`.
|
**Path —** `./config/environments/**/security.json`.
|
||||||
@ -322,6 +317,8 @@ Most of the application's configurations are defined by environment. It means th
|
|||||||
- `whiteList` (array): Whitelisted IPs. Default value: `[]`.
|
- `whiteList` (array): Whitelisted IPs. Default value: `[]`.
|
||||||
- `blackList` (array): Blacklisted IPs. Default value: `[]`.
|
- `blackList` (array): Blacklisted IPs. Default value: `[]`.
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
## Server
|
## Server
|
||||||
|
|
||||||
**Path —** `./config/environments/**/server.json`.
|
**Path —** `./config/environments/**/server.json`.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user