Skip to content

Commit

Permalink
fix: Use configured host for waiting (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschyra authored Mar 5, 2024
1 parent 0bcc79a commit 87e299e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/frontendlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 87e299e

Please # to comment.