Solved different bugs e.g. csp and optimized deploy help

This commit is contained in:
2025-06-04 19:50:11 +02:00
parent 6d857663fb
commit 24cd75ac26
6 changed files with 78 additions and 20 deletions

View File

@@ -22,6 +22,7 @@ csp:
unsafe-inline: true
script-src-elem:
unsafe-inline: true
script-src:
unsafe-eval: true
whitelist:
worker-src:
@@ -34,6 +35,20 @@ csp:
- "blog.{{ primary_domain }}"
style-src:
- "https://fonts.bunny.net"
frame-src:
- "blob:"
- "*.{{ primary_domain }}"
#frame-src: >-
# {{
# ['*.{}'.format(primary_domain)]
# +
# (
# applications.wordpress.domains.canonical
# | default([])
# | map('regex_replace', '^(.*)$', 'blob:\g<1>')
# | list
# )
# }}
domains:
canonical:
- "blog.{{ primary_domain }}"