Problems with Pouchdb access

0

Using PouchDB with a REST API to do a replicate.to? Following is the simple example of PouchDB:

bancolocal = new PouchDB('http://192.168.1.100:5984/bancoexterno');

The problem is when I run the application, I noticed by the crhome inspect that it returns a URL of type http://192.168.1.100:5984/bancoexterno/ adding a “/” at the end of the address, directing to a directory not to an RESP service, and thus not locating the DB and displayed one:

  

ERR_CONNECTION_REFUSED.

Ionic version 2.0.0-beta.31

The database is SQLite3

Note: The answer is perfect, the browser responds correctly with the database as well as the Advanced REST client crhome.

    
asked by anonymous 10.07.2016 / 19:10

0 answers