Fix xhr timeout
This commit is contained in:
parent
0ca3b734d6
commit
035f79c566
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ export async function FetchConfiguration(): Promise<IConfiguration> {
|
||||||
resolve(JSON.parse(this.responseText));
|
resolve(JSON.parse(this.responseText));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
xhr.timeout = 5000;
|
||||||
xhr.send();
|
xhr.send();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue