Removed adaptive port for API

This commit is contained in:
Dries Augustyns
2024-07-23 18:48:37 +02:00
parent d568be98cc
commit 7c50176263
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -100,9 +100,9 @@ server.app.use(
); );
void prisma.$connect().then(() => { void prisma.$connect().then(() => {
server.app.listen(PORT, () => { server.app.listen(4000, () => {
task.start(); task.start();
signale.success("[HTTPS] Ready on", PORT); signale.success("[HTTPS] Ready on", 4000);
}); });
}); });
-1
View File
@@ -21,7 +21,6 @@ export function validateEnv<T extends string = string>(
// ENV // ENV
export const JWT_SECRET = validateEnv("JWT_SECRET"); export const JWT_SECRET = validateEnv("JWT_SECRET");
export const PORT = validateEnv<`${number}`>("PORT", "4000");
export const NODE_ENV = validateEnv<"development" | "production">( export const NODE_ENV = validateEnv<"development" | "production">(
"NODE_ENV", "NODE_ENV",
"production", "production",