Workaround terrible user agent sniffing from embed bug workaround services

This commit is contained in:
Charlotte 🦝 Delenk 2023-11-17 16:35:23 +01:00
parent c0deb887c2
commit ecabb72e8e
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -65,7 +65,8 @@
"fe80::/64" "fe80::/64"
"fc00::/7" "fc00::/7"
]; ];
userAgent = "TelegramBot (like TwitterBot)"; # to make it work with fxtwitter/vxtwitter # user agent header was a mistake
userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0, matrix-media-repo (like twitterbot; like telegrambot; like discordbot; like facebook; like whatsapp; like firefox/92; like vkshare) +https://github.com/DarkKirb/nixos-config/pull/264";
}; };
downloads = { downloads = {
expireAfterDays = 7; expireAfterDays = 7;