aboutsummaryrefslogtreecommitdiff
path: root/client/model.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <f@miniflux.net> 2024-10-05 20:37:30 -0700
committerGravatar Frédéric Guillot <f@miniflux.net> 2024-10-05 21:21:12 -0700
commite555e442fba0a9ca3c8cf67444e8c42f79db359a (patch)
treee7ee91ff4842ef23569833e0443be91545d4c42e /client/model.go
parent600dea6ce54989a792e666a0a26de0ee847e4562 (diff)
downloadv2-e555e442fba0a9ca3c8cf67444e8c42f79db359a.tar.gz
v2-e555e442fba0a9ca3c8cf67444e8c42f79db359a.tar.zst
v2-e555e442fba0a9ca3c8cf67444e8c42f79db359a.zip
feat: add new settings option to allow external fonts
Diffstat (limited to 'client/model.go')
-rw-r--r--client/model.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/model.go b/client/model.go
index f0583ae4..0a6cd4d1 100644
--- a/client/model.go
+++ b/client/model.go
@@ -45,6 +45,7 @@ type User struct {
MediaPlaybackRate float64 `json:"media_playback_rate"`
BlockFilterEntryRules string `json:"block_filter_entry_rules"`
KeepFilterEntryRules string `json:"keep_filter_entry_rules"`
+ ExternalFontHosts string `json:"external_font_hosts"`
}
func (u User) String() string {
@@ -88,6 +89,7 @@ type UserModificationRequest struct {
MediaPlaybackRate *float64 `json:"media_playback_rate"`
BlockFilterEntryRules *string `json:"block_filter_entry_rules"`
KeepFilterEntryRules *string `json:"keep_filter_entry_rules"`
+ ExternalFontHosts *string `json:"external_font_hosts"`
}
// Users represents a list of users.