From: Marius Gavrilescu Date: Mon, 1 Dec 2014 11:00:57 +0000 (+0200) Subject: Fix Content Security Policy X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=aae7bba75554fbab8c39c0b9344df4b93f6b1ab0;p=gruntmaster-page.git Fix Content Security Policy --- diff --git a/app.psgi b/app.psgi index 2a0c979..2c264f9 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'; connect-src 'self'; frame-src 'free.timeanddate.com',; +use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self'; connect-src 'self'; frame-src free.timeanddate.com,; my $db = Gruntmaster::Data->connect('dbi:Pg:');