Rename const/config option to `allowed_hosts_in_markdown`
This commit is contained in:
parent
a0a403ca4f
commit
8bbc9c72c1
|
@ -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']
|
||||
]
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue