Skip to content

Instantly share code, notes, and snippets.

@rbnpercy
Created September 19, 2017 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbnpercy/a72b7f9503e06cfa75c3b429bd68f676 to your computer and use it in GitHub Desktop.
Save rbnpercy/a72b7f9503e06cfa75c3b429bd68f676 to your computer and use it in GitHub Desktop.
function requestHandler(req, res) {
res.setHeader('Strict-Transport-Security', 'max-age=630720; includeSubDomains; preload');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment