From 9739fbd17d5c8c4549d4f350848c2a03cbe86e89 Mon Sep 17 00:00:00 2001 From: William Oldham Date: Thu, 21 Dec 2023 18:19:45 +0000 Subject: [PATCH] Correct mistakes with backend environment config --- content/4.backend/2.configuration.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/4.backend/2.configuration.md b/content/4.backend/2.configuration.md index 6e8ffcd..7f9388c 100644 --- a/content/4.backend/2.configuration.md +++ b/content/4.backend/2.configuration.md @@ -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