Skip to content

Commit

Permalink
Update and fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
daleharvey committed Jun 10, 2016
1 parent d9d2111 commit f657399
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var express = require('express');
var app = express();
var PouchDB = require('pouchdb');

app.use('/db', require('express-pouchdb')(PouchDB));
app.use('/db', require('pouchdb-express-router')(PouchDB));

app.listen(3000);
```
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ module.exports = function(PouchDB) {

// Used for testing porpoises
// var PouchDB = require('pouchdb');
// module.exports(PouchDB);
// var app = express();
// app.use(module.exports(PouchDB));
// app.listen(5985);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pouchdb-express-router",
"version": "0.0.8",
"version": "0.0.9",
"description": "Provide minimal routing and functionality to provide a PouchDB server that replicates",
"main": "index.js",
"dependencies": {
Expand Down

0 comments on commit f657399

Please sign in to comment.