Rename const/config option to `allowed_hosts_in_markdown`

This commit is contained in:
Andreas Nedbal 2021-12-31 22:22:06 +01:00 committed by Andreas Nedbal
parent a0a403ca4f
commit 8bbc9c72c1
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ RAW_MARKDOWN_OPTS = {
superscript: false
}
ALLOWED_HOSTS = [
ALLOWED_HOSTS_IN_MARKDOWN = [
APP_CONFIG['hostname'],
*APP_CONFIG['allowed_hosts']
*APP_CONFIG['allowed_hosts_in_markdown']
]

View File

@ -75,7 +75,7 @@ accepted_image_formats:
# This list controls which hosts are excempt from the linkfilter
# Note: `hostname` is always included by default
allowed_hosts:
allowed_hosts_in_markdown:
- twitter.com
- youtube.com
- youtu.be