From: Marius Gavrilescu Date: Mon, 23 Feb 2015 13:41:38 +0000 (+0200) Subject: Update Content-Security-Policy X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=a8ba096ba0c4fa94282e3143b9010175d8f4dc47;p=gruntmaster-page.git Update Content-Security-Policy --- diff --git a/app.psgi b/app.psgi index e2f5b05..5d3c898 100644 --- a/app.psgi +++ b/app.psgi @@ -13,7 +13,7 @@ use Tie::Hash::Expire; use constant AUTH_TIMEOUT => 5 * 60; use constant ACCESSLOG_FORMAT => '%{X-Forwarded-For}i|%h %u "%r" %>s %b "%{Referer}i" "%{User-agent}i"'; -use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self' www.google-analytics.com; connect-src 'self',; +use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' static.mindcoding.ro www.google-analytics.com; style-src 'self' static.mindcoding.ro; img-src 'self' static.mindcoding.ro www.google-analytics.com; connect-src 'self',; our $db //= Gruntmaster::Data->connect($ENV{GRUNTMASTER_DSN} // 'dbi:Pg:');