mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 03:45:59 +00:00
electron app starting
This commit is contained in:
@@ -21,7 +21,7 @@ export function canOpenByElectron(file, extensions) {
|
||||
|
||||
export async function openSqliteFile(filePath) {
|
||||
const defaultDatabase = getDatabaseFileLabel(filePath);
|
||||
const resp = await axiosInstance.post('connections/save', {
|
||||
const resp = await axiosInstance().post('connections/save', {
|
||||
_id: undefined,
|
||||
databaseFile: filePath,
|
||||
engine: 'sqlite@dbgate-plugin-sqlite',
|
||||
|
||||
Reference in New Issue
Block a user