Skip to content

Instantly share code, notes, and snippets.

@rbnpercy
Created September 19, 2017 13:02
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/52ae7ad0d1c6e1e0cacdd63a8b368139 to your computer and use it in GitHub Desktop.
Save rbnpercy/52ae7ad0d1c6e1e0cacdd63a8b368139 to your computer and use it in GitHub Desktop.
function requestHandler(req, res) {
res.setHeader( 'X-XSS-Protection', '1; mode=block' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment