kopia lustrzana https://github.com/badgen/badgen.net
chore: add user agent header to outgoing requests (#673)
rodzic
b58e0de176
commit
5ecf9cef02
|
@ -6,5 +6,8 @@ export default got.extend({
|
|||
},
|
||||
retry: {
|
||||
limit: 0,
|
||||
},
|
||||
headers: {
|
||||
'user-agent': 'Mozilla/5.0 (compatible; Badgen/1.0; +https://badgen.net)',
|
||||
}
|
||||
})<any>
|
||||
|
|
Ładowanie…
Reference in New Issue