From f187e22976baf8f65a35d2c2cfe974ae09811d09 Mon Sep 17 00:00:00 2001 From: Haileyesus Date: Wed, 18 Mar 2026 10:37:32 +0300 Subject: [PATCH] fix: correct path to .env file in load-env-vars configuration --- server/src/config/load-env-vars.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/config/load-env-vars.ts b/server/src/config/load-env-vars.ts index 324df106..3ad99451 100644 --- a/server/src/config/load-env-vars.ts +++ b/server/src/config/load-env-vars.ts @@ -9,7 +9,7 @@ const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); try { - const envPath = path.join(__dirname, '../.env'); + const envPath = path.join(__dirname, '../../.env'); const envFile = fs.readFileSync(envPath, 'utf8'); envFile.split('\n').forEach(line => { const trimmedLine = line.trim();