diff options
| author | Igor Minar | 2013-10-22 15:05:40 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-10-22 15:21:24 -0700 |
| commit | 2d8d6dd192322a60a3dbad7485d1395a161b3130 (patch) | |
| tree | 5f21c96fbf6b7f2723352db875a0d7bc65fd20a9 /lib/grunt/utils.js | |
| parent | a86cf20e67202d614bbcaf038c5e04db94483256 (diff) | |
| download | angular.js-2d8d6dd192322a60a3dbad7485d1395a161b3130.tar.bz2 | |
chore(Grunt): use the latest Content-Security-Policy header in csp mode
Diffstat (limited to 'lib/grunt/utils.js')
| -rw-r--r-- | lib/grunt/utils.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index ababf2f6..2c641e7b 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -251,6 +251,7 @@ module.exports = { return function(req, res, next){ res.setHeader("X-WebKit-CSP", "default-src 'self';"); res.setHeader("X-Content-Security-Policy", "default-src 'self'"); + res.setHeader("Content-Security-Policy", "default-src 'self'"); next(); }; }, |
