Print port and prefix on startup

This commit is contained in:
D. Berge
2023-05-18 18:30:48 +02:00
parent 838883d8a3
commit 89061f6411

View File

@@ -340,7 +340,7 @@ if (!module.parent) {
const server = http.createServer(root).listen(port, host);
if (server) {
// console.log(`API started on port ${port}, prefix: ${path || "/"}`);
console.log(`API started on port ${port}, prefix: ${path || "/"}`);
INFO(`API started on port ${port}, prefix: ${path || "/"}`);
}
return server;