diff --git a/lib/client/core.js b/lib/client/core.js index f17dc96..1467530 100644 --- a/lib/client/core.js +++ b/lib/client/core.js @@ -125,7 +125,8 @@ function WorkerPouch(opts, callback) { } api.type = function () { - return 'worker'; + // see https://github.com/pouchdb/pouchdb/issues/6106 + return 'http'; }; api._id = adapterFun('id', function (callback) { @@ -409,4 +410,4 @@ WorkerPouch.valid = function () { }; WorkerPouch.use_prefix = false; -module.exports = WorkerPouch; \ No newline at end of file +module.exports = WorkerPouch;