Updated to the new version of keeper

This commit is contained in:
Martin Donnelly 2016-06-30 14:52:35 +01:00
parent e7c6b11bc4
commit 809eb59eee
3 changed files with 4 additions and 4 deletions

View File

@ -18,8 +18,8 @@ var router = express.Router();
var EventEmitter = require('events'); var EventEmitter = require('events');
var nano = require('nano')('http://localhost:5984'); //var nano = require('nano')('http://localhost:5984');
//var nano = require('nano')('http://martind2000:1V3D4m526i@localhost:5984'); var nano = require('nano')('http://martind2000:1V3D4m526i@localhost:5984');
var busEmitter = new EventEmitter(); var busEmitter = new EventEmitter();
var db_name = 'recipes'; var db_name = 'recipes';

View File

@ -1,4 +1,4 @@
var nano = require('nano')('http://localhost:5984'); var nano = require('nano')('http://martind2000:1V3D4m526i@localhost:5984');
// clean up the database we created previously // clean up the database we created previously
nano.db.destroy('recipes', function () { nano.db.destroy('recipes', function () {

View File

@ -1,4 +1,4 @@
var nano = require('nano')('http://localhost:5984'); var nano = require('nano')('http://martind2000:1V3D4m526i@localhost:5984');
var logger = require('log4js').getLogger(); var logger = require('log4js').getLogger();
var db_name = 'recipes'; var db_name = 'recipes';