diff --git a/lib/index.js b/lib/index.js index baa12a8..6a9b1ea 100644 --- a/lib/index.js +++ b/lib/index.js @@ -29,6 +29,9 @@ module.exports = function (options) { canonicalRoot: options.canonicalRoot }); + ag.teepee.headers['User-Agent'] = 'Hyperlink v' + version + ' (https://www.npmjs.com/package/hyperlink)'; + ag.teepee.timeout = 30000; + var excludePattern; if (Array.isArray(options.excludePatterns)) {