Add piwik to allowed URIs in connect-src
This commit is contained in:
parent
288207c736
commit
68f7df96d6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue