From 698f53314bb486e336c0f590fb69865cfeb3cf12 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Thu, 3 Aug 2023 19:34:37 +0000 Subject: [PATCH] fix argument parse bug --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index a6a4f2d..48209a8 100644 --- a/src/main.js +++ b/src/main.js @@ -29,7 +29,7 @@ app.use(cors({ origin: db.hostname })); app.use(morgan("combined")); global.server = app.listen(db.listenPort, () => { - console.log(`proxmoxaas-api v${api.version} listening on port ${db.listenPort}`); + console.log(`proxmoxaas-api v${api.version} listening on port ${global.db.listenPort}`); }); import("./routes/auth.js").then((module) => {