From 5545452b0c7b1dca7dfaf2d3ac1ef2c47481d300 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 14 Dec 2025 01:22:42 +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 7254c7e..b1461df 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);