mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-30 11:39:26 -07:00
chore: add initial logging info
This commit is contained in:
parent
95767e8373
commit
568b411b28
1 changed files with 2 additions and 3 deletions
|
@ -8,8 +8,7 @@ dotenv.config();
|
|||
|
||||
import app from "../app.js";
|
||||
|
||||
import debug from "debug";
|
||||
debug("zero-ui:server");
|
||||
console.log("zero-ui:server");
|
||||
import http from "node:http";
|
||||
|
||||
/**
|
||||
|
@ -86,5 +85,5 @@ function onError(error) {
|
|||
function onListening() {
|
||||
var addr = server.address();
|
||||
var bind = typeof addr === "string" ? "pipe " + addr : "port " + addr?.port;
|
||||
debug("Listening on " + bind);
|
||||
console.log("Listening on " + bind);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue