mirror of
https://github.com/p-stream/docs.git
synced 2026-01-11 20:10:34 +00:00
Correct mistakes with backend environment config
This commit is contained in:
parent
40aeea711c
commit
9739fbd17d
1 changed files with 4 additions and 4 deletions
|
|
@ -21,14 +21,14 @@ This method uses nesting. So the key `server.basePath`. Will result in a json fi
|
|||
|
||||
## Method 2 - `.env`
|
||||
|
||||
This method is a flat method using double underscores as seperators and `MW_` as prefix. So the key `server.basePath`. Will result in the .env file like this:
|
||||
The environment variable names use double underscores as separators and `MW_` as the prefix. So the key `server.basePath` will result in the .env file like this:
|
||||
```sh
|
||||
MB_SERVER__BASE_PATH=/backend
|
||||
MW_SERVER__BASE_PATH=/backend
|
||||
```
|
||||
|
||||
## Method 3 - environment
|
||||
## Method 3 - Environment
|
||||
|
||||
This method is identical to the `.env` method listed above, but instead of writing it in a file, you add it to the environment.
|
||||
This method is identical to the `.env` method listed above, but you add the variables to the environment instead of writing it in a file.
|
||||
|
||||
# Reference
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue