Skip to content

Commit

Permalink
update config and use connection object
Browse files Browse the repository at this point in the history
  • Loading branch information
zemirco committed Apr 17, 2014
1 parent 7764520 commit 66ba1d2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
exports.db = 'mongodb://127.0.0.1/test';
exports.dbCollection = 'users';

exports.db = {
url: 'mongodb://127.0.0.1/',
name: 'test',
collection: 'users'
};

exports.signup = {
tokenExpiration: '1 day'
};
};

0 comments on commit 66ba1d2

Please sign in to comment.