Correct Backend Environment Error

This commit is contained in:
William Oldham
2023-12-21 18:42:08 +00:00
committed by GitHub
parent 7b67e38741
commit bf64153888

View File

@@ -21,9 +21,9 @@ This method uses nesting. So the key `server.basePath`. Will result in a json fi
## 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
MW_SERVER__BASE_PATH=/backend
MWB_SERVER__BASE_PATH=/backend
```
## Method 3 - Environment