mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 23:56:00 +00:00
start app fix
This commit is contained in:
@@ -22,9 +22,12 @@
|
||||
loaded = settings?.data && connections?.data && config?.data;
|
||||
if (loaded) {
|
||||
setAppLoaded();
|
||||
} else {
|
||||
console.log('API not initialized correctly, trying again in 1s');
|
||||
setTimeout(loadSettings, 1000);
|
||||
}
|
||||
} catch (err) {
|
||||
console.log('Error loading settings, trying again in 1s');
|
||||
console.log('Error calling API, trying again in 1s');
|
||||
setTimeout(loadSettings, 1000);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user