From bae70c3830e774879a17c24045697517bb6f700d Mon Sep 17 00:00:00 2001 From: Koronos Date: Sat, 14 Mar 2015 08:06:50 -0600 Subject: [PATCH] Added the database conector --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 9dc9f41..877ed90 100644 --- a/app.js +++ b/app.js @@ -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'); });