Skip to content

Commit

Permalink
Merge pull request #91 from wpugph/88-datatables-fix
Browse files Browse the repository at this point in the history
Fix cdn.datatables source for plugin
  • Loading branch information
eabquina authored Apr 9, 2020
2 parents 991bb7e + a0e277b commit 090a097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/wp-content/themes/dctx/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function additional_securityheaders( $headers ) {
$headers['XX-XSS-Protection'] = '1; mode=block';
$headers['Feature-Policy'] = 'geolocation "none" ; camera "none"';
$headers['X-Frame-Options'] = 'SAMEORIGIN';
$headers['Content-Security-Policy'] = "script-src-elem 'self' 'unsafe-inline' https://www.google.com https://js-agent.newrelic.com https://bam.nr-data.net https://www.gstatic.com; script-src 'unsafe-inline' 'unsafe-eval' https://www.google.com https://fonts.googleapis.com https://cdnjs.cloudflare.com https://www.gstatic.com https://js-agent.newrelic.com/";
$headers['Content-Security-Policy'] = "script-src-elem 'self' 'unsafe-inline' https://www.google.com https://js-agent.newrelic.com https://bam.nr-data.net https://www.gstatic.com https://cdn.datatables.net; script-src 'unsafe-inline' 'unsafe-eval' https://www.google.com https://fonts.googleapis.com https://cdnjs.cloudflare.com https://www.gstatic.com https://js-agent.newrelic.com/";
}

return $headers;
Expand Down

0 comments on commit 090a097

Please sign in to comment.