mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 16:26:00 +00:00
fix
This commit is contained in:
@@ -41,10 +41,6 @@ export async function apiCall(route: string, args: {} = undefined) {
|
|||||||
if (apiLogging) {
|
if (apiLogging) {
|
||||||
console.log('>>> API CALL', route, args);
|
console.log('>>> API CALL', route, args);
|
||||||
}
|
}
|
||||||
if (apiDisabled) {
|
|
||||||
console.log('Error, API disabled!!');
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
const electron = getElectron();
|
const electron = getElectron();
|
||||||
if (electron) {
|
if (electron) {
|
||||||
|
|||||||
Reference in New Issue
Block a user