Improve headers and fix redirect for analytics iframe

This commit is contained in:
Luis Merino
2025-04-02 09:27:33 +02:00
parent 57019c6971
commit 43e90f73a8
3 changed files with 24 additions and 23 deletions
+7
View File
@@ -118,3 +118,10 @@ disableKinds = ["taxonomy", "term"]
[services]
[services.googleAnalytics]
id = 'G-NZYW2651NE'
[server]
[server.headers]
for = '/get_anonymous_id/**'
[[server.headers.values]]
Content-Security-Policy = 'frame-ancestors https://localhost:3000'
X-Frame-Options = 'ALLOW-FROM https://localhost:3000'