diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-11-05 23:23:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 23:23:05 +0100 |
commit | 39cdf61ab7be267a374c472c230b315971ead43c (patch) | |
tree | 990744c23f78c62a078d65d39f07c7d70a1e1c67 /app/lib/request.rb | |
parent | 989c67d29d379f872f23a513f43d5100630c1b12 (diff) |
Add support for structured data and more OpenGraph tags to link cards (#16938)
Save preview cards under their canonical URL Increase max redirects to follow from 2 to 3
Diffstat (limited to 'app/lib/request.rb')
-rw-r--r-- | app/lib/request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/request.rb b/app/lib/request.rb index 125dee3ea..4289da933 100644 --- a/app/lib/request.rb +++ b/app/lib/request.rb @@ -94,7 +94,7 @@ class Request end def http_client - HTTP.use(:auto_inflate).timeout(TIMEOUT.dup).follow(max_hops: 2) + HTTP.use(:auto_inflate).timeout(TIMEOUT.dup).follow(max_hops: 3) end end |