mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
fix: use a more recent UA (#11199)
This commit is contained in:
parent
d9e35a969f
commit
564fdfec93
@ -150,7 +150,7 @@ namespace Jellyfin.LiveTv.TunerHosts
|
||||
{
|
||||
// Use user-defined user-agent. If there isn't one, make it look like a browser.
|
||||
httpHeaders[HeaderNames.UserAgent] = string.IsNullOrWhiteSpace(info.UserAgent) ?
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36" :
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" :
|
||||
info.UserAgent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user