Fixed empty canonicals

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-22 19:26:44 +02:00
parent bba663f95d
commit 30930c4136
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 7 additions and 5 deletions

View File

@ -22,7 +22,8 @@ csp:
whitelist: {} # URL's which should be whitelisted
flags: {} # Flags which should be set
domains:
canonical: {} # Urls under which the domain should be directly accessible
canonical:
- "libretranslate.{{ primary_domain }}"
aliases: [] # Alias redirections to the first element of the canonical domains
rbac:
roles: {}

View File

@ -22,7 +22,8 @@ csp:
whitelist: {} # URL's which should be whitelisted
flags: {} # Flags which should be set
domains:
canonical: {} # Urls under which the domain should be directly accessible
canonical:
- "pretix.{{ primary_domain }}"
aliases: [] # Alias redirections to the first element of the canonical domains
rbac:
roles: {}