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( console.log(
`Listening on ${ `Listening on ${options.host ?? "http://localhost"}:${options.port} !`,
options.host ? options.host : "http://localhost"
}:${options.port} !`,
); );
if (options.staticLocalDir && options.staticServePath) { if (options.staticLocalDir && options.staticServePath) {