mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 16:36:00 +00:00
bundled electron app starts without error
This commit is contained in:
@@ -16,14 +16,13 @@ class ElectronApi {
|
||||
let apiInstance = null;
|
||||
|
||||
function initializeElectron(args) {
|
||||
// console.log('Initialize electron with args:', args);
|
||||
|
||||
apiInstance = new ElectronApi(args);
|
||||
if (window['dbgate_recreateAxiosInstance']) {
|
||||
// console.log('Recreating axios instance');
|
||||
|
||||
window['dbgate_recreateAxiosInstance']();
|
||||
}
|
||||
if (window['dbgate_recreateSocket']) {
|
||||
window['dbgate_recreateSocket']();
|
||||
}
|
||||
}
|
||||
|
||||
window['dbgate_initializeElectron'] = initializeElectron;
|
||||
|
||||
Reference in New Issue
Block a user