mirror of
https://gitlab.silvrtree.co.uk/martind2000/recipes.git
synced 2025-03-13 08:10:00 +00:00
Updated to the new version of keeper
This commit is contained in:
parent
e7c6b11bc4
commit
809eb59eee
@ -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';
|
||||||
|
@ -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 () {
|
||||||
|
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user