1
0
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:
Tankred Hase 2013-11-17 16:34:53 +01:00
parent 12b683be13
commit 4c4eb89160

View File

@ -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();
},