diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/privacy/privacyConfig.go | 5 | ||||
-rw-r--r-- | config/privacy/privacyConfig_test.go | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/config/privacy/privacyConfig.go b/config/privacy/privacyConfig.go index 33e98754c..6dad54e72 100644 --- a/config/privacy/privacyConfig.go +++ b/config/privacy/privacyConfig.go @@ -89,11 +89,6 @@ type YouTube struct { // YouTube won’t store information about visitors on your website // unless the user plays the embedded video. PrivacyEnhanced bool - - // If simple mode is enabled, only a thumbnail is fetched from ytimg.com and - // shown with a play button overlaid. If a user clicks the button, he/she will - // be taken to the video page on youtube.com in a new browser tab. - Simple bool } func DecodeConfig(cfg config.Provider) (pc Config, err error) { diff --git a/config/privacy/privacyConfig_test.go b/config/privacy/privacyConfig_test.go index 112e45988..7e736ce96 100644 --- a/config/privacy/privacyConfig_test.go +++ b/config/privacy/privacyConfig_test.go @@ -70,7 +70,6 @@ simple = true assert.True(pc.YouTube.PrivacyEnhanced) assert.True(pc.YouTube.Disable) - assert.True(pc.YouTube.Simple) } func TestDecodeConfigFromTOMLCaseInsensitive(t *testing.T) { |