diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-27 11:55:47 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-27 11:55:47 +0000 |
| commit | a5528ed97fcd7d15c62effda4358ffea176548e0 (patch) | |
| tree | de8568dd83e52e5b853eed35c664919cf3247956 /app.js | |
| parent | 91d29e0dcd03aa2d5d5170f2e713a79b395fa9eb (diff) | |
Added comments to admin.js
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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()); |
