Add previews for youtube links with www subdomain

This commit is contained in:
Roman Volosovskyi 2023-01-30 12:39:02 +01:00
parent 551715f493
commit 550de3bff2
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
0.128.1
0.128.2

View File

@ -70,6 +70,11 @@ func LinkPreviewWhitelist() []Site {
Address: "youtube.com",
ImageSite: false,
},
{
Title: "YouTube with subdomain",
Address: "www.youtube.com",
ImageSite: false,
},
{
Title: "YouTube shortener",
Address: "youtu.be",