From 881a28c73c5e044df1758de2dd2ef544a4036c6b Mon Sep 17 00:00:00 2001 From: soulgalore Date: Mon, 9 Sep 2024 08:23:08 +0200 Subject: [PATCH] fix: use the hostname from the machine --- testrunner/src/sitespeedio-testrunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testrunner/src/sitespeedio-testrunner.js b/testrunner/src/sitespeedio-testrunner.js index 7649c6e..348b4b7 100644 --- a/testrunner/src/sitespeedio-testrunner.js +++ b/testrunner/src/sitespeedio-testrunner.js @@ -29,7 +29,7 @@ export class SitespeedioTestRunner { // If hostname isn't configured add it const hostname = os.hostname(); - if (nconf.get('hostname') !== undefined) { + if (nconf.get('hostname') === undefined) { serverConfig.hostname = hostname; logger.info('No hostname found in configuration. Will use %s', hostname); }