Commit 87684f5e authored by andreagerino's avatar andreagerino

...

parent 74d72e9c
...@@ -10,7 +10,7 @@ var assert = assert = require('assert'); ...@@ -10,7 +10,7 @@ var assert = assert = require('assert');
// Connection URL // Connection URL
var mongoUrl = 'mongodb://icarus:icarus@localhost:27017/icarus'; var mongoUrl = 'mongodb://icarus:icarus@localhost:27017/icarus';
//Use connect method to test the connection to the Server //Connect to the server and intialise the pool
var icarusDb; var icarusDb;
mongoClient.connect(mongoUrl, function(err, db) { mongoClient.connect(mongoUrl, function(err, db) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment