Use a different user-agent. (#4313)
Signed-off-by: dblock <dblock@amazon.com>
This commit is contained in:
parent
9209c0a6bc
commit
f05de0e5f5
|
@ -104,7 +104,8 @@ module Jekyll::LinkChecker
|
|||
@external_link_checker = LinkChecker::Typhoeus::Hydra::Checker.new(
|
||||
logger: Jekyll.logger,
|
||||
hydra: { max_concurrency: 2 },
|
||||
retries: 3
|
||||
retries: 3,
|
||||
user_agent: 'OpenSearch Documentation Website Link Checker/1.0'
|
||||
)
|
||||
|
||||
@external_link_checker.on :failure, :error do |result|
|
||||
|
|
Loading…
Reference in New Issue