From f61a24c15fc7a4c6223bfc07e7d8430c36608a86 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 5 Sep 2024 14:02:32 +0200 Subject: [PATCH] this comment has to be ignored for the production since dotenv doesnt exists in prod --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 242d749..28ea21c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,6 +5,7 @@ const start_app = () => { // Load .env if not in prod if (process.env.NODE_ENV !== "production") { + // @ts-ignore import("dotenv").then((c) => { c.config({ path: "./config/.env" });