From 8e6cac4ed7742ef847345f193ef6ea3df88d7457 Mon Sep 17 00:00:00 2001 From: Emil Balicki Date: Tue, 28 May 2024 21:18:36 +0200 Subject: [PATCH] Revert "Fixed env. not working on local [TEMP]: --signoff" This reverts commit ebdee18f78f31e30b87d0441ad68bd87a2dde52a. --- backend/src/BIE.Core/BIE.Core.API/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/BIE.Core/BIE.Core.API/Startup.cs b/backend/src/BIE.Core/BIE.Core.API/Startup.cs index b6591223..410c6355 100644 --- a/backend/src/BIE.Core/BIE.Core.API/Startup.cs +++ b/backend/src/BIE.Core/BIE.Core.API/Startup.cs @@ -140,7 +140,7 @@ private static void ConfigureEnviornmentVaraiables() var dbName = Environment.GetEnvironmentVariable("DB_NAME"); var dbUser = Environment.GetEnvironmentVariable("DB_USERNAME"); var dbPassword = Environment.GetEnvironmentVariable("DB_PASSWORD"); - bool dbTrusted = "true "; //Environment.GetEnvironmentVariable("TRUSTED").ToLower() == "true"; + bool dbTrusted = Environment.GetEnvironmentVariable("TRUSTED").ToLower() == "true"; DatabaseType dbType = (DatabaseType)Enum.Parse(typeof(DatabaseType), Environment.GetEnvironmentVariable("DB_TYPE"));