1. Rexford Nkansah
  2. MatCustom

Commits

Comments (0)

Files changed (2)

File app.js Modified

View file
  • Ignore whitespace
  • Hide word diff
 var fs = require('fs-extra');
 var replace = require('replace');
 var uuid = require('node-uuid');
+var helmet = require('helmet');
 
 var app = express();
 app.use(compression());
+app.use(helmet());
 // view engine setup
 app.set('views', path.join(__dirname, 'views/'));
 app.set('view engine', 'twig');

File package.json Modified

View file
  • Ignore whitespace
  • Hide word diff
     "compression": "^1.6.2",
     "express": "~4.13.1",
     "fs-extra": "^0.30.0",
+    "helmet": "^2.1.2",
     "morgan": "~1.6.1",
     "node-sass": "^3.8.0",
     "node-uuid": "^1.4.7",