adjust listenting console output

This commit is contained in:
HorizonCode 2023-05-12 10:29:45 +02:00
parent 49d5818062
commit 301a6d2c3d

4
mod.ts
View File

@ -44,9 +44,7 @@ export class HTTPServer {
});
console.log(
`Listening on ${
options.host ? options.host : "http://localhost"
}:${options.port} !`,
`Listening on ${options.host ?? "http://localhost"}:${options.port} !`,
);
if (options.staticLocalDir && options.staticServePath) {