mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
LetsEncryptWorker: Follow redirects for verification
This commit is contained in:
parent
f3ab1a6f24
commit
cdcc65e951
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class LetsEncryptWorker
|
|||
puts "testing #{challenge_url}"
|
||||
|
||||
begin
|
||||
res = HTTP.timeout(:global, write: 5, connect: 10, read: 10).get(challenge_url)
|
||||
res = HTTP.timeout(:global, write: 5, connect: 10, read: 10).follow.get(challenge_url)
|
||||
rescue => e
|
||||
puts e.inspect
|
||||
puts "error with #{challenge_url}"
|
||||
|
|
Loading…
Add table
Reference in a new issue