From d52f71b53f37cd047630f73c2d81582f47b04e7c Mon Sep 17 00:00:00 2001
From: Travis Ralston <travpc@gmail.com>
Date: Thu, 10 Feb 2022 19:03:20 -0700
Subject: [PATCH] cleanup

---
 CHANGELOG.md                   | 4 ++++
 common/config/models_domain.go | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 80d5855a..f45d0b3d 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 1b1c74a6..c58ef8b0 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"`
 }
 
-- 
GitLab