Removed adaptive port for API
This commit is contained in:
@@ -100,9 +100,9 @@ server.app.use(
|
||||
);
|
||||
|
||||
void prisma.$connect().then(() => {
|
||||
server.app.listen(PORT, () => {
|
||||
server.app.listen(4000, () => {
|
||||
task.start();
|
||||
|
||||
signale.success("[HTTPS] Ready on", PORT);
|
||||
signale.success("[HTTPS] Ready on", 4000);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -21,7 +21,6 @@ export function validateEnv<T extends string = string>(
|
||||
|
||||
// ENV
|
||||
export const JWT_SECRET = validateEnv("JWT_SECRET");
|
||||
export const PORT = validateEnv<`${number}`>("PORT", "4000");
|
||||
export const NODE_ENV = validateEnv<"development" | "production">(
|
||||
"NODE_ENV",
|
||||
"production",
|
||||
|
||||
Reference in New Issue
Block a user