aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-27 11:55:47 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-27 11:55:47 +0000
commita5528ed97fcd7d15c62effda4358ffea176548e0 (patch)
treede8568dd83e52e5b853eed35c664919cf3247956 /app.js
parent91d29e0dcd03aa2d5d5170f2e713a79b395fa9eb (diff)
Added comments to admin.js
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app.js b/app.js
index 9832dcd..b0008a3 100644
--- a/app.js
+++ b/app.js
@@ -1,4 +1,3 @@
-var fs = require("fs");
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
@@ -31,7 +30,6 @@ app.set('view engine', 'hbs');
// Middleware initialization, make sure everything is initialized in proper order
app.use(compression());
-
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: true}));
app.use(expressValidator());