fix server with subpath (#1322)

This commit is contained in:
Djorkaeff Alexandre 2019-10-23 16:26:57 -03:00 committed by Guilherme Gazzo
parent 6df7d7b3c3
commit 2867f845df
1 changed files with 1 additions and 1 deletions

View File

@ -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({