fix argument parse bug

This commit is contained in:
Arthur Lu 2023-08-03 19:34:37 +00:00
parent c9807668ea
commit c5f7239813

View File

@ -29,7 +29,7 @@ app.use(cors({ origin: db.hostname }));
app.use(morgan("combined")); app.use(morgan("combined"));
global.server = app.listen(db.listenPort, () => { 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) => { import("./routes/auth.js").then((module) => {