aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-29 04:26:55 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-29 04:26:55 +0200
commit3c4cbdb56ba0c4347069406b3fe014b1f7ca6f1f (patch)
treecd7f62af0133377296c4e07b3e312ca0f891ac36 /app.js
parentremoved bcrypt. no longer is use. (diff)
downloadDivid-3c4cbdb56ba0c4347069406b3fe014b1f7ca6f1f.tar.gz
removed small bug where express is initiated twice. also cleaned a bit.
Diffstat (limited to 'app.js')
-rw-r--r--app.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/app.js b/app.js
index 3d7cef3..acbc3ff 100644
--- a/app.js
+++ b/app.js
@@ -2,14 +2,10 @@
/**
* Module dependencies.
*/
-
var express = require('express')
, fs = require('fs')
, passport = require('passport');
-
-var app = express(); // initiates express
-
/**
* App configuration
*/
@@ -53,9 +49,7 @@ require('./router')(app, passport, auth);
/**
* Server initiation
*/
-
app.listen(port, function() {
console.log("Express server listening on port " + port);
});
-