mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2024-09-20 06:56:05 +08:00
chore: add initial logging info
This commit is contained in:
parent
95767e8373
commit
568b411b28
|
@ -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…
Reference in a new issue