Merge pull request #15 from kyleconroy/kjc-remove-csp-policy

Don't add CSP header when disallowing framing.
This commit is contained in:
igorkofman
2015-09-20 13:12:55 -07:00

View File

@@ -342,7 +342,6 @@ response.setGzip = function(gzip) {
response.disallowFraming = function() {
response.setHeader('X-Frame-Options', 'SAMEORIGIN');
response.addHeader('Content-Security-Policy', "frame-ancestors 'self'");
}
response.allowFraming = function() {