From 0ced0a46937ff8d19613ff9905f078a6b0643d5c Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 3 Aug 2022 15:12:13 +0100 Subject: [PATCH] fix: pass hostname to `getPort` as well (#34) --- src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index fee76dd..690bd88 100644 --- a/src/index.ts +++ b/src/index.ts @@ -78,7 +78,10 @@ export async function listen (handle: http.RequestListener, opts: Partial