Skip to content

Commit

Permalink
refactor: setup default user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Apr 6, 2023
1 parent bb42d9c commit 56467ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = require('./factory')({
MicrolinkError: require('whoops')('MicrolinkError'),
urlHttp: require('url-http/lightweight'),
got: require('got'),
got: require('got').extend({ headers: { 'user-agent': undefined } }),
flatten: require('flattie').flattie,
VERSION: require('../package.json').version
})
Expand Down

1 comment on commit 56467ff

@vercel
Copy link

@vercel vercel bot commented on 56467ff Apr 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.