diff --git a/frontend/src/helpers/checkAndSetApiUrl.ts b/frontend/src/helpers/checkAndSetApiUrl.ts index 282c7281f..3ac1770c8 100644 --- a/frontend/src/helpers/checkAndSetApiUrl.ts +++ b/frontend/src/helpers/checkAndSetApiUrl.ts @@ -51,10 +51,9 @@ export const checkAndSetApiUrl = (url: string | undefined | null): Promise configStore.update() // Check if the api is reachable at the provided url - return updateConfig() + return configStore.update() .catch(e => { // Check if it is reachable at /api/v1 and http if ( @@ -63,7 +62,7 @@ export const checkAndSetApiUrl = (url: string | undefined | null): Promise