mirror of
https://github.com/moparisthebest/mail
synced 2024-12-23 07:48:48 -05:00
cleanup csp in gruntfile
This commit is contained in:
parent
12b683be13
commit
4c4eb89160
@ -29,7 +29,7 @@ module.exports = function(grunt) {
|
||||
// Return array of whatever middlewares you want
|
||||
return [
|
||||
function(req, res, next) {
|
||||
res.setHeader('Content-Security-Policy', "default-src 'self'; connect-src *; object-src 'none'; style-src 'self' 'unsafe-inline'");
|
||||
res.setHeader('Content-Security-Policy', "default-src 'self'; object-src 'none'; connect-src 'self' https://keys.whiteout.io; img-src 'self' data:;");
|
||||
|
||||
return next();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user