mirror of
https://github.com/moparisthebest/mail
synced 2025-01-11 05:28:00 -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 array of whatever middlewares you want
|
||||||
return [
|
return [
|
||||||
function(req, res, next) {
|
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();
|
return next();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user