mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 18:58:07 +00:00
Fix secure headers for new Google tag.
This commit is contained in:
@@ -47,7 +47,7 @@ class SecureHeaders
|
|||||||
$google = '';
|
$google = '';
|
||||||
$analyticsId = env('ANALYTICS_ID', '');
|
$analyticsId = env('ANALYTICS_ID', '');
|
||||||
if ('' !== $analyticsId) {
|
if ('' !== $analyticsId) {
|
||||||
$google = 'https://www.google-analytics.com/analytics.js'; // @codeCoverageIgnore
|
$google = 'www.googletagmanager.com/gtag/js'; // @codeCoverageIgnore
|
||||||
}
|
}
|
||||||
$csp = [
|
$csp = [
|
||||||
"default-src 'none'",
|
"default-src 'none'",
|
||||||
|
|||||||
Reference in New Issue
Block a user