this comment has to be ignored for the production since dotenv doesnt exists in prod
Some checks failed
Lint and Format Check / lint-and-format (pull_request) Failing after 10s
Some checks failed
Lint and Format Check / lint-and-format (pull_request) Failing after 10s
This commit is contained in:
parent
4eb05fa1ab
commit
f61a24c15f
1 changed files with 1 additions and 0 deletions
|
@ -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" });
|
||||
|
||||
|
|
Loading…
Reference in a new issue