From 301a6d2c3dcbfe98e648ed416e5c43a60092d22b Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Fri, 12 May 2023 10:29:45 +0200 Subject: [PATCH] adjust listenting console output --- mod.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mod.ts b/mod.ts index 604924b..febd017 100644 --- a/mod.ts +++ b/mod.ts @@ -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) {