From 3c4cbdb56ba0c4347069406b3fe014b1f7ca6f1f Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 29 Apr 2013 04:26:55 +0200 Subject: removed small bug where express is initiated twice. also cleaned a bit. --- app.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app.js') 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); }); - -- cgit v1.2.3