Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
updated logger output
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn committed Mar 8, 2024
1 parent 55f57ba commit b628982
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ const getConfigurationOptions = (options) => {
useSeleniumStandaloneService,
} = options;

const url = `http://${externalHost || getIpAddress()}:${externalPort || 8080}`;
return {
baseUrl: `http://${externalHost || getIpAddress()}:${externalPort || 8080}`,
baseUrl: url,
capabilities: getCapabilities(browsers, !!gridUrl),
hostname: seleniumServiceUrl || gridUrl || (useSeleniumStandaloneService ? 'standalone-chrome' : 'localhost'),
port: seleniumServicePort || (gridUrl ? 80 : 4444),
Expand All @@ -60,6 +61,7 @@ const getConfigurationOptions = (options) => {
port: assetServerPort,
site,
updateScreenshots,
url,
useHttps,
useRemoteReferenceScreenshots,
...(theme ? { theme } : { theme: getDefaultThemeName() }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AssetServerService {

try {
if (this.options.disableServer) {
logger.info(`Internal asset server disabled; Connecting to server on 0.0.0.0:${this.options.port}`);
logger.info(`Internal asset server disabled; Connecting to server on ${this.options.url}`);
return;
}

Expand Down

0 comments on commit b628982

Please sign in to comment.