mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Rename const/config option to allowed_hosts_in_markdown
This commit is contained in:
parent
a0a403ca4f
commit
8bbc9c72c1
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ RAW_MARKDOWN_OPTS = {
|
||||||
superscript: false
|
superscript: false
|
||||||
}
|
}
|
||||||
|
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS_IN_MARKDOWN = [
|
||||||
APP_CONFIG['hostname'],
|
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
|
# This list controls which hosts are excempt from the linkfilter
|
||||||
# Note: `hostname` is always included by default
|
# Note: `hostname` is always included by default
|
||||||
allowed_hosts:
|
allowed_hosts_in_markdown:
|
||||||
- twitter.com
|
- twitter.com
|
||||||
- youtube.com
|
- youtube.com
|
||||||
- youtu.be
|
- youtu.be
|
||||||
|
|
Loading…
Reference in a new issue