Skip to content

Commit

Permalink
chore: add user agent header to outgoing requests
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed Jul 11, 2024
1 parent b58e0de commit 0d73095
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/got.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 0d73095

Please sign in to comment.