mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
Merge pull request #1606 from derskeal/patch-1
Update configurations.md
This commit is contained in:
commit
c23eb7c75b
@ -1,6 +1,6 @@
|
|||||||
# Configurations
|
# Configurations
|
||||||
|
|
||||||
The main configurations of the project are located in the `./config` directory. Additional configs can be added in the `./api/**/config` folder of each APIs and plugins by creating JavaScript or JSON files.
|
The main configurations of the project are located in the `./config` directory. Additional configs can be added in the `./api/**/config` folder of each API and plugin by creating JavaScript or JSON files.
|
||||||
|
|
||||||
## Application
|
## Application
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ Each JSON file located in the folder must have the name of its corresponding tra
|
|||||||
|
|
||||||
Most of the application's configurations are defined by environment. It means that you can specify settings for each environment (`development`, `production`, `test`, etc.).
|
Most of the application's configurations are defined by environment. It means that you can specify settings for each environment (`development`, `production`, `test`, etc.).
|
||||||
|
|
||||||
> Note: You can access to the config of the current environment through `strapi.config.currentEnvironment`.
|
> Note: You can access the config of the current environment through `strapi.config.currentEnvironment`.
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user