6 ms·
This is interesting, but how does PouchDB replicate to an external server with the same origin policy implemented by most browsers?
by sktrdie 15y ago
This is interesting, but how does PouchDB replicate to an external server with the same origin policy implemented by most browsers?
- daleharvey 15y agoThere are 2/3 solution, CouchDB can serve arbitrary files over HTTP, you can have a proxy to server your app and the couch api from the same host, or you, and the other is CORS, CouchDB doesnt natively support CORS yet but that is coming very soon, in the meantime I have been using a node.js CORS proxy