From 6bc0f6eded94412323109968a361690c943e6fa1 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 14 Dec 2025 01:22:33 +0000 Subject: [PATCH] Added dotenv support. --- src/config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config.js b/src/config.js index e2ee339..e94da0a 100644 --- a/src/config.js +++ b/src/config.js @@ -2,6 +2,10 @@ import fs from 'fs'; import path from 'path'; import { fileURLToPath } from 'url'; +import dotenv from 'dotenv'; + +// Load environment variables from .env file +dotenv.config(); // Configure paths relative to this file const __filename = fileURLToPath(import.meta.url);