Fix xhr timeout

This commit is contained in:
Eric NGUYEN 2022-09-21 16:13:16 +02:00
parent 0ca3b734d6
commit 035f79c566

View file

@ -28,6 +28,7 @@ export async function FetchConfiguration(): Promise<IConfiguration> {
resolve(JSON.parse(this.responseText));
}
};
xhr.timeout = 5000;
xhr.send();
});
}