Closed MichaelJCole closed 9 years ago
... as well.
Hey, this is a partial fix for: https://github.com/pouchdb/express-pouchdb/issues/116
Example server:
var port = 3001; var express = require('express') , app = express() , PouchDB = require('pouchdb') , logger = require('morgan') ; app.use(logger("tiny")); app.get('/', function(req, res) { res.type('text/plain'); res.send('i am a beautiful butterfly'); }); app.use('/express-pouchdb', require('express-pouchdb')(PouchDB)); console.log('listening on port ' + port); app.listen(port);
This PR is improved by the next.
... as well.
Hey, this is a partial fix for: https://github.com/pouchdb/express-pouchdb/issues/116
Example server: