Skip to content

Commit

Permalink
added credentials to db
Browse files Browse the repository at this point in the history
  • Loading branch information
tsabend committed Jan 8, 2015
1 parent 987e0ad commit 4ae0309
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
var mongoose = require('mongoose');

var config = {
"db": "highScores",
"host": "localhost",
"user": "",
"pw": "",
"db": "highScores",
"host": "localhost",
"user": "thomas",
"pw": "admin",
"port": 27017
};

Expand All @@ -25,4 +25,4 @@ mongoose.connect(uristring, mongoOptions, function (err, res) {
});


exports.mongoose = mongoose;
exports.mongoose = mongoose;

0 comments on commit 4ae0309

Please sign in to comment.