Solved CSP bugs

This commit is contained in:
2025-06-18 14:29:16 +02:00
parent 25ba93cbfd
commit 8b5c61953e
4 changed files with 17 additions and 12 deletions

View File

@@ -20,6 +20,8 @@ features:
central_database: true
csp:
flags:
script-src:
unsafe-eval: true
script-src-elem:
unsafe-inline: true
unsafe-eval: true
@@ -27,8 +29,7 @@ csp:
unsafe-inline: true
whitelist:
connect-src:
- "{{ primary_domain }}"
- "matrix.{{ primary_domain }}"
- "*"
script-src-elem:
- "element.{{ primary_domain }}"
- "https://cdn.jsdelivr.net"