diff --git a/src/scripts/settings/webSettings.js b/src/scripts/settings/webSettings.js index 45ac6b00e4..461951f06f 100644 --- a/src/scripts/settings/webSettings.js +++ b/src/scripts/settings/webSettings.js @@ -87,7 +87,7 @@ export function getMultiServer() { export function getServers() { return getConfig().then(config => { - return config.servers; + return config.servers || []; }).catch(error => { console.log('cannot get web config:', error); return [];