fix: prod (#160)
All checks were successful
Publish latest version / build (push) Successful in 1m31s

this comment has to be ignored for the production since dotenv doesnt exists in prod

Reviewed-on: #160
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
Mylloon 2024-09-05 14:07:30 +02:00 committed by Mylloon
parent 4eb05fa1ab
commit 223b393258
Signed by: Forgejo
GPG key ID: E72245C752A07631

View file

@ -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" });