fix: prod #160
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ const start_app = () => {
|
|||
|
||||
// Load .env if not in prod
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import("dotenv").then((c) => {
|
||||
c.config({ path: "./config/.env" });
|
||||
|
||||
|
|
Loading…
Reference in a new issue