diff --git a/src/Components/API/api.ts b/src/Components/API/api.ts index 986b3e3..0971135 100644 --- a/src/Components/API/api.ts +++ b/src/Components/API/api.ts @@ -28,6 +28,7 @@ export async function FetchConfiguration(): Promise { resolve(JSON.parse(this.responseText)); } }; + xhr.timeout = 5000; xhr.send(); }); }