chore: adapt default user agent slightly
This commit is contained in:
parent
afbc16a3ec
commit
1dd9d324e6
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ export class Fetcher {
|
|||
'Accept-Language': 'en',
|
||||
...(url.username && { Authorization: 'Basic ' + Buffer.from(`${url.username}:${url.password}`).toString('base64') }),
|
||||
'Priority': 'u=0',
|
||||
'User-Agent': this.hostUserAgentMap.get(url.host) ?? 'Mozilla',
|
||||
'User-Agent': this.hostUserAgentMap.get(url.host) ?? 'Mozilla/5.0',
|
||||
...(hostUserAgent && { 'User-Agent': hostUserAgent }),
|
||||
...(cookieString && { Cookie: cookieString }),
|
||||
...(ctx.ip && {
|
||||
|
|
|
|||
Loading…
Reference in a new issue