mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 06:53:29 +00:00
Correct Backend Environment Error
This commit is contained in:
@@ -21,9 +21,9 @@ This method uses nesting. So the key `server.basePath`. Will result in a json fi
|
|||||||
|
|
||||||
## Method 2 - `.env`
|
## Method 2 - `.env`
|
||||||
|
|
||||||
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:
|
The environment variable names use double underscores as separators and `MWB_` as the prefix. So the key `server.basePath` will result in the .env file like this:
|
||||||
```sh
|
```sh
|
||||||
MW_SERVER__BASE_PATH=/backend
|
MWB_SERVER__BASE_PATH=/backend
|
||||||
```
|
```
|
||||||
|
|
||||||
## Method 3 - Environment
|
## Method 3 - Environment
|
||||||
|
Reference in New Issue
Block a user