mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(Grunt): use the latest Content-Security-Policy header in csp mode
This commit is contained in:
parent
a86cf20e67
commit
2d8d6dd192
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
};
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue