deploy on render

This commit is contained in:
2026-01-13 17:27:07 +03:00
parent bd235f4100
commit 71b2987a34
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -2,3 +2,4 @@ NODE_ENV=
PORT=
MONGO_URI=
JWT_SECRET=
API_URL=
+1
View File
@@ -15,6 +15,7 @@ function requireEnv(key: string): string {
export const env = {
nodeEnv: process.env.NODE_ENV ?? "development",
port: Number(process.env.PORT) ?? 3000,
API_URL: process.env.API_URL ?? "http://localhost:3000",
mongoUri: requireEnv("MONGO_URI"),