Merge pull request #264 from DarkKirb/workaround-for-workaround-services

Workaround terrible user agent sniffing from embed bug workaround services
This commit is contained in:
Charlotte 🦝 Delenk 2023-11-17 16:58:05 +01:00 committed by GitHub
commit 59c9cd3a56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,8 @@
"fe80::/64"
"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 = {
expireAfterDays = 7;