diff --git a/app/lib/database/index.js b/app/lib/database/index.js index 7216779d..b385a9b6 100644 --- a/app/lib/database/index.js +++ b/app/lib/database/index.js @@ -52,7 +52,7 @@ class DB { } setActiveDB(database = '') { - const path = database.replace(/(^\w+:|^)\/\//, ''); + const path = database.replace(/(^\w+:|^)\/\//, '').replace(/\//, '.'); const dbName = `${ appGroupPath }${ path }.db`; const adapter = new SQLiteAdapter({