diff options
author | Abhishek Patel | 2016-05-26 16:05:38 +0530 |
---|---|---|
committer | Abhishek Patel | 2016-05-26 16:05:38 +0530 |
commit | 096a8381f94ef9b417ddb650a80c81bda9c8805d (patch) | |
tree | 473c3d2d7dd06e63631600fa17d707286233e069 | |
parent | 0930372f4634e26cb50f660ddf3cf8d8b6101b4d (diff) | |
download | eSimWebApp-096a8381f94ef9b417ddb650a80c81bda9c8805d.tar.gz eSimWebApp-096a8381f94ef9b417ddb650a80c81bda9c8805d.tar.bz2 eSimWebApp-096a8381f94ef9b417ddb650a80c81bda9c8805d.zip |
remove unwanted packeges
-rw-r--r-- | app.js | 8 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 1 insertions, 9 deletions
@@ -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 diff --git a/package.json b/package.json index 4da8b40..d333bf4 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,7 @@ "author": "", "license": "ISC", "dependencies": { - "cookie-parser": "^1.4.1", "express": "^4.13.3", - "express-session": "^1.13.0", "hogan-express": "^0.5.2", "socket.io": "^1.4.4" } |