diff --git a/src/scripts/clientUtils.js b/src/scripts/clientUtils.js index e9659346c7..477632680e 100644 --- a/src/scripts/clientUtils.js +++ b/src/scripts/clientUtils.js @@ -37,7 +37,7 @@ export async function serverAddress() { responses = responses.filter(response => response && response.ok); return Promise.all(responses.map(response => response.json())); }).then(configs => { - const selection = configs.find(config => !config.StartupWizardCompleted) + let selection = configs.find(config => !config.StartupWizardCompleted); if (!selection) selection = configs[0]; return Promise.resolve(selection.LocalAddress); }).catch(error => {