Add piwik to allowed URIs in connect-src

This commit is contained in:
Tom Hughes 2018-05-17 11:29:06 +01:00
parent 288207c736
commit 68f7df96d6

View file

@ -16,6 +16,7 @@ if defined?(CSP_REPORT_URL)
:report_uri => [CSP_REPORT_URL]
}
csp_policy[:connect_src] << PIWIK["location"] if defined?(PIWIK)
csp_policy[:img_src] << PIWIK["location"] if defined?(PIWIK)
csp_policy[:script_src] << PIWIK["location"] if defined?(PIWIK)
else