mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:27:09 +00:00
Print port and prefix on startup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user