try to break the sync

This commit is contained in:
lingdocs 2021-08-22 23:43:29 +04:00
parent 3d56d79cef
commit 14752d57e0
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ function initializeLocalDb(type: LocalDbType, refresh: () => void, user: AT.Ling
db, db,
refresh, refresh,
sync: db.sync( sync: db.sync(
`https://${user.userId}:${password}a@couch.lingdocs.com/${name}`, `https://${user.userId}:${password}a@couch.lingdocs.com/${name}aa`,
{ live: true, retry: true }, { live: true, retry: true },
).on("change", (info) => { ).on("change", (info) => {
if (info.direction === "pull") { if (info.direction === "pull") {