feat: add Umami analytics domain to CSP connect-src directive

This commit is contained in:
Greg 2025-06-15 18:05:11 +02:00
parent fd9940652c
commit 1642e3936a

4
app.py
View File

@ -32,6 +32,10 @@ csp = {
'img-src': [ 'img-src': [
"'self'", "'self'",
'data:' 'data:'
],
'connect-src': [
"'self'",
'https://umami-ikow84gco0wcw8cgsc8o08g8.reflectonai.com'
] ]
} }
Talisman(app, content_security_policy=csp) Talisman(app, content_security_policy=csp)