fix argument parse bug

This commit is contained in:
Arthur Lu 2023-08-03 19:34:37 +00:00
parent ea94d31b0c
commit 698f53314b

View File

@ -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) => {