Merge pull request #3390 from bluewave-labs/fix/port-env-var

Fix: restore PORT env var
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-03-06 12:20:02 -08:00
commit 1f56338697
2 files changed
+3 -3

No files matched your search

+2 -3
View File
@@ -50,9 +50,8 @@ const startApp = async () => {
openApiSpec, openApiSpec,
}); });
const port = 52345; const server = app.listen(env.PORT, () => {
const server = app.listen(port, () => { logger.info({ message: `Server started on port:${env.PORT}` });
logger.info({ message: `Server started on port:${port}` });
}); });
initShutdownListener(server, services); initShutdownListener(server, services);
+1
View File
@@ -2,6 +2,7 @@ import { z } from "zod";
const envSchema = z.object({ const envSchema = z.object({
// Server Configuration // Server Configuration
PORT: z.string().default("52345"),
NODE_ENV: z.enum(["development", "production", "test"]).default("development"), NODE_ENV: z.enum(["development", "production", "test"]).default("development"),
LOG_LEVEL: z.enum(["error", "warn", "info", "debug"]).default("debug"), LOG_LEVEL: z.enum(["error", "warn", "info", "debug"]).default("debug"),