remove dotenv since bun uses process.env

This commit is contained in:
creations 2025-01-08 18:36:17 -05:00
parent f59f3b9083
commit 725eb7d762
Signed by: creations
GPG key ID: 8F553AA4320FC711

View file

@ -1,13 +1,5 @@
import dotenv from "dotenv";
import { logger } from "@/helpers/logger"; import { logger } from "@/helpers/logger";
try {
dotenv.config();
} catch {
logger.error("No .env file found consider creating one");
}
export const environment: Environment = { export const environment: Environment = {
port: parseInt(process.env.PORT || "6600", 10), port: parseInt(process.env.PORT || "6600", 10),
host: process.env.HOST || "0.0.0.0", host: process.env.HOST || "0.0.0.0",