From eb8462fce4f4655c8f943b8b3ac615e50997a3e4 Mon Sep 17 00:00:00 2001 From: mgerb42 Date: Mon, 31 Aug 2015 19:51:15 -0500 Subject: [PATCH] fixed few things --- app.js | 3 ++- bin/www | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index adb9ced..03bb157 100644 --- a/app.js +++ b/app.js @@ -49,6 +49,7 @@ app.use(function(req, res, next) { // development error handler // will print stacktrace +/* if (app.get('env') === 'development') { app.use(function(err, req, res, next) { res.status(err.status || 500); @@ -58,7 +59,7 @@ if (app.get('env') === 'development') { }); }); } - +*/ // production error handler // no stacktraces leaked to user app.use(function(err, req, res, next) { diff --git a/bin/www b/bin/www index 87ffb43..d2484eb 100755 --- a/bin/www +++ b/bin/www @@ -12,7 +12,7 @@ var http = require('http'); * Get port from environment and store in Express. */ -var port = normalizePort(process.env.PORT || '3000'); +var port = normalizePort(process.env.PORT || '80'); app.set('port', port); /**