mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
added federation api allow/deny ip list checking
Signed-off-by: adnull <d.lexand@gmail.com>
This commit is contained in:
parent
e697b920a4
commit
8fa0fcecfa
7 changed files with 219 additions and 30 deletions
|
@ -31,8 +31,8 @@ type MediaAPI struct {
|
|||
// A list of thumbnail sizes to be pre-generated for downloaded remote / uploaded content
|
||||
ThumbnailSizes []ThumbnailSize `yaml:"thumbnail_sizes"`
|
||||
|
||||
// Black list of urls
|
||||
UrlPreviewBlacklist []string `yaml:"url_preview_blacklist"`
|
||||
// Deny list of urls
|
||||
UrlPreviewDenylist []string `yaml:"url_preview_denylist"`
|
||||
|
||||
// The time in seconds to cache URL previews for
|
||||
UrlPreviewCacheTime int `yaml:"url_preview_cache_time"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue