load environment variable for development

This commit is contained in:
Evan
2025-04-05 21:20:31 -07:00
parent 0dbc246a63
commit f620264ce3
+3
View File
@@ -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