From 28cf2223e6678b689ad01a99decb3371f8a15bcd Mon Sep 17 00:00:00 2001 From: Erling Aaby Date: Tue, 30 Apr 2013 08:26:15 +0200 Subject: added mouseover for app store links --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index f9aa1b9..492f8fe 100644 --- a/app.js +++ b/app.js @@ -10,7 +10,7 @@ var express = require('express') /** * App configuration */ -var port = process.env.PORT || 8000 +var port = process.env.PORT || 8001 , env = process.env.NODE_ENV || 'development' , config = require('./config/config')[env] , auth = require('./config/middlewares/authorization'); -- cgit v1.2.3 From 257bf2623479db39e2a32f2257ea02b113756e7e Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 30 Apr 2013 09:09:12 +0200 Subject: changed port AGAIN --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index 492f8fe..f9aa1b9 100644 --- a/app.js +++ b/app.js @@ -10,7 +10,7 @@ var express = require('express') /** * App configuration */ -var port = process.env.PORT || 8001 +var port = process.env.PORT || 8000 , env = process.env.NODE_ENV || 'development' , config = require('./config/config')[env] , auth = require('./config/middlewares/authorization'); -- cgit v1.2.3 From 7ef5bc29e6032ae9f7318ae5790e45057f7e5b4f Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 30 Apr 2013 13:31:00 +0200 Subject: renamed router to routes as it now contains more static routes, than actually working as a router --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index f9aa1b9..618ef8d 100644 --- a/app.js +++ b/app.js @@ -44,7 +44,7 @@ require('./config/express')(app, config, passport); /** * Routes */ -require('./router')(app, passport, auth); +require('./routes')(app, passport, auth); /** -- cgit v1.2.3 From c97de0454c16ae883d9237e5b3fb292e282af53e Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Wed, 1 May 2013 10:59:02 +0200 Subject: better logging --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index 618ef8d..a0f7ae1 100644 --- a/app.js +++ b/app.js @@ -20,7 +20,7 @@ mongoose.connect(config.db); var db = mongoose.connection; db.on('error', console.error.bind(console, 'connection error:')); db.once('open', function callback(){ - console.log('Connected to MongoDB'); + console.log('Connected to ' + config.db); }); // Bootstrap models -- cgit v1.2.3