fix issue with multiple entries in server array
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
b76f5a0a0f
commit
69439bbff0
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export async function serverAddress() {
|
|||
const urls = [];
|
||||
urls.push(window.location.origin);
|
||||
urls.push(`${window.location.protocol}//${window.location.hostname}:8096`);
|
||||
urls.push(await webSettings.getServers());
|
||||
urls.push(...await webSettings.getServers());
|
||||
|
||||
const promises = urls.map(url => {
|
||||
return fetch(`${url}/System/Info/Public`).catch(error => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue