Skip to content

Commit

Permalink
fix: use the hostname from the machine (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Sep 9, 2024
1 parent a8d8592 commit 44a8062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testrunner/src/sitespeedio-testrunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 44a8062

Please sign in to comment.