From df5ff4d980072ba459ecfd5fa0ef8e12d91b249b Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 15 Sep 2023 11:50:09 +0200 Subject: [PATCH] fix: correct private host warning message --- src/listen.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/listen.ts b/src/listen.ts index 27b7dd8..471acce 100644 --- a/src/listen.ts +++ b/src/listen.ts @@ -75,7 +75,7 @@ export async function listen( consola.warn( `[listhen] Trying to listhen on private host ${JSON.stringify( listhenOptions.hostname, - )} with public option disabled.`, + )} with public option enabled.`, ); listhenOptions.public = false; } else if (!listhenOptions.public && _anyhost && !(isWsl() || isDocker())) {