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
This commit is contained in:
Eugen Rochko
2021-11-05 23:23:05 +01:00
committed by GitHub
parent 989c67d29d
commit 39cdf61ab7
5 changed files with 260 additions and 52 deletions

View File

@@ -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