Skip to content

Instantly share code, notes, and snippets.

@rbnpercy
Created September 19, 2017 13:06
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/e2f272379f47af8da681902610d26eee to your computer and use it in GitHub Desktop.
Save rbnpercy/e2f272379f47af8da681902610d26eee to your computer and use it in GitHub Desktop.
function requestHandler(req, res) {
res.setHeader( 'Content-Security-Policy', "script-src 'self'" );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment