Skip to content

Commit

Permalink
Added the database conector
Browse files Browse the repository at this point in the history
  • Loading branch information
Koronos committed Mar 14, 2015
1 parent 059bacb commit bae70c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var bodyParser = require('body-parser');
var mongoose = require("mongoose");

// Connection to DB
mongoose.connect('mongodb://localhost/tvshows', function (err, res) {
mongoose.connect('mongodb://localhost/videogames', function (err, res) {
if (err) throw err;
console.log('Connected to Database');
});
Expand Down

0 comments on commit bae70c3

Please sign in to comment.