mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
Fix google analytics CSP again
This commit is contained in:
@@ -5,7 +5,8 @@ const cspDirectives = {
|
|||||||
'child-src': ["'self'"],
|
'child-src': ["'self'"],
|
||||||
'connect-src': ["'self'", "https://*.google-analytics.com"],
|
'connect-src': ["'self'", "https://*.google-analytics.com"],
|
||||||
// 'connect-src': ["'self'", 'ws://localhost:*', 'https://hcaptcha.com', 'https://*.hcaptcha.com'],
|
// 'connect-src': ["'self'", 'ws://localhost:*', 'https://hcaptcha.com', 'https://*.hcaptcha.com'],
|
||||||
'img-src': ["'self'", 'data:'],
|
'img-src': ["'self'", 'data:',
|
||||||
|
'https://*.googletagmanager.com'],
|
||||||
'font-src': ["'self'", 'data:'],
|
'font-src': ["'self'", 'data:'],
|
||||||
'form-action': ["'self'"],
|
'form-action': ["'self'"],
|
||||||
'frame-ancestors': ["'self'"],
|
'frame-ancestors': ["'self'"],
|
||||||
|
|||||||
Reference in New Issue
Block a user