You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
Putting the name of the local database in the src, converts the string into a URL. <app-pouchdb-sync src="localDbName" target="http://ip:port/remoteDb" bidirectional > tries to create Pouch.sync('http://localhost:8080/src/localDbName', http://ip:port/remoteDb") which results in the synchronisation not working.
Expected outcome
<app-pouchdb-sync src="localDbName" target="http://ip:port/remoteDb" bidirectional > is expected to launch Pouch.sync('localDbName', http://ip:port/remoteDb")
Actual outcome
The element converts src into a URL, namely, 'http://localhost:8080/src/localDbName' and thus tries to launch Pouch.sync('http://localhost:8080/src/localDbName', http://ip:port/remoteDb")
Live Demo
Steps to reproduce
open /bower_components/app-pouchdb/app-pouchdb-sync.html
Add a log the value of src in the function __computeSync, i.e add: console.log("src= " + src);
Description
Putting the name of the local database in the src, converts the string into a URL.
<app-pouchdb-sync src="localDbName" target="http://ip:port/remoteDb" bidirectional >
tries to createPouch.sync('http://localhost:8080/src/localDbName', http://ip:port/remoteDb")
which results in the synchronisation not working.Expected outcome
<app-pouchdb-sync src="localDbName" target="http://ip:port/remoteDb" bidirectional >
is expected to launchPouch.sync('localDbName', http://ip:port/remoteDb")
Actual outcome
The element converts src into a URL, namely, 'http://localhost:8080/src/localDbName' and thus tries to launch
Pouch.sync('http://localhost:8080/src/localDbName', http://ip:port/remoteDb")
Live Demo
Steps to reproduce
console.log("src= " + src);
Alternatively, create a new element
And use it from another element
The console should display
Browsers Affected
The text was updated successfully, but these errors were encountered: