diff --git a/CHANGELOG.md b/CHANGELOG.md index 80d5855aa80512cc344c33610b7ac53d3a91bce6..f45d0b3d514fb3cd3b9d30de29379e27a28adb41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +* New config option to set user agent when requesting URL previews. + ### Fixed * Fixed media being permanently lost when transferring to an (effectively) readonly S3 datastore. diff --git a/common/config/models_domain.go b/common/config/models_domain.go index 1b1c74a635c3005e56ae79197749672af5e1b574..c58ef8b0c7a64b3bb55a182a7ea8e59d1aa6cbde 100644 --- a/common/config/models_domain.go +++ b/common/config/models_domain.go @@ -64,7 +64,7 @@ type UrlPreviewsConfig struct { AllowedNetworks []string `yaml:"allowedNetworks,flow"` UnsafeCertificates bool `yaml:"previewUnsafeCertificates"` DefaultLanguage string `yaml:"defaultLanguage"` - UserAgent string `yaml:"userAgent"` + UserAgent string `yaml:"userAgent"` OEmbed bool `yaml:"oEmbed"` }