summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/app.js b/app.js
index 6088672..d437ead 100644
--- a/app.js
+++ b/app.js
@@ -1,7 +1,5 @@
var express = require('express'),
path = require('path'),
- cookieParser = require('cookie-parser'),
- session = require('express-session'),
config = require('./config/config.js')
@@ -11,11 +9,7 @@ app.engine('html',require('hogan-express'));
app.set('view engine','html');
app.use(express.static(path.join(__dirname,'views')));
-app.use(cookieParser());
-app.use(session({secret:'esimSession',
- resave: true,
- saveUninitialized: true
- }));
+
app.set('port',process.env.PORT||4000);
//Setting config