diff --git a/src/server/Server.ts b/src/server/Server.ts index fc2d6c475..59468c10b 100644 --- a/src/server/Server.ts +++ b/src/server/Server.ts @@ -1,7 +1,10 @@ import cluster from "cluster"; +import * as dotenv from "dotenv"; import { startMaster } from "./Master"; import { startWorker } from "./Worker"; +dotenv.config(); + // Main entry point of the application async function main() { // Check if this is the primary (master) process