Skip to content

Commit

Permalink
Add HSTS header. (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Oct 28, 2016
1 parent 5d81cdb commit 254fc9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Expand Up @@ -75,6 +75,7 @@ app.use(function (req, res, next) {
res.setHeader('Cache-Control', 'public, max-age=' + oneHourToSec);
res.setHeader('Expires', new Date(Date.now() + oneHourToMilliSec).toUTCString());
res.setHeader('Last-Modified', new Date().toUTCString());
res.setHeader('Strict-Transport-Security', 'max-age=16070400; includeSubDomains; preload');
res.setHeader('Accept-Ranges', 'bytes');
res.setHeader('X-Content-Type-Options', 'nosniff');
res.setHeader('X-Frame-Options', 'DENY');
Expand Down

0 comments on commit 254fc9d

Please sign in to comment.