Problema de rutas + env

This commit is contained in:
2026-01-30 15:10:49 +01:00
parent 1be982e422
commit fedc71791e
4 changed files with 8 additions and 12 deletions

View File

@@ -1,5 +1,7 @@
import { loadEnvFile } from "node:process";
loadEnvFile("../../.env")
import path from "node:path";
loadEnvFile(path.join(__dirname, "../../../../.env"))
export const env = {
ENVIRONMENT: process.env.ENVIORMENT,