diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-29 04:26:55 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-29 04:26:55 +0200 |
commit | 3c4cbdb56ba0c4347069406b3fe014b1f7ca6f1f (patch) | |
tree | cd7f62af0133377296c4e07b3e312ca0f891ac36 /app.js | |
parent | removed bcrypt. no longer is use. (diff) | |
download | Divid-3c4cbdb56ba0c4347069406b3fe014b1f7ca6f1f.tar.gz |
removed small bug where express is initiated twice. also cleaned a bit.
Diffstat (limited to '')
-rw-r--r-- | app.js | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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); }); - |