mirror of
https://github.com/neocities/neocities.git
synced 2025-05-15 00:47:16 +02:00
follow redirects
This commit is contained in:
parent
749f2fd5e0
commit
f92d6c6139
3 changed files with 4 additions and 3 deletions
|
@ -24,7 +24,7 @@ class DeleteCacheWorker
|
|||
Addressable::URI::CharacterClasses::QUERY
|
||||
)
|
||||
|
||||
HTTP.timeout(read: 10, write: 10, connect: 2).
|
||||
HTTP.follow.timeout(read: 10, write: 10, connect: 2).
|
||||
headers(host: URI::encode("#{username}.neocities.org")).
|
||||
get(url)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue