From 87e299e348f80998ab7e86ffb9c8280cd6614b77 Mon Sep 17 00:00:00 2001 From: jschyra Date: Tue, 5 Mar 2024 15:37:23 +0100 Subject: [PATCH] fix: Use configured host for waiting (#242) --- src/modules/frontendlib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/frontendlib.js b/src/modules/frontendlib.js index 6bd1030..21f86d2 100644 --- a/src/modules/frontendlib.js +++ b/src/modules/frontendlib.js @@ -127,7 +127,7 @@ module.exports.waitForFrontendLibApp = async () => { }, 500); try { - await tpu.waitUntilUsedOnHost(port, 'localhost', 200, 10000); + await tpu.waitUntilUsedOnHost(port, url.hostname, 200, 10000); } catch(e) { utils.error(`Timeout exceeded while waiting till local TCP port: ${port}`);