Restore DBGate beside Adminer
This commit is contained in:
@@ -51,6 +51,14 @@ export function loadConfig({ configPath = "config/local.json", dryRun } = {}) {
|
||||
|| "chromium",
|
||||
).toLowerCase(),
|
||||
},
|
||||
dbGate: {
|
||||
url: env.DBGATE_URL || config.dbGate?.url || "http://127.0.0.1:3000",
|
||||
browserEngine: String(
|
||||
env.DBGATE_BROWSER_ENGINE
|
||||
|| config.dbGate?.browserEngine
|
||||
|| "chromium",
|
||||
).toLowerCase(),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -104,5 +112,9 @@ function mergeConfig(base, override) {
|
||||
...override.databaseTool,
|
||||
...override.databaseGate,
|
||||
},
|
||||
dbGate: {
|
||||
...base.dbGate,
|
||||
...override.dbGate,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user