follow 3 redirects for URL previews instead of 6

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-21 23:18:44 -04:00 committed by June
parent 713b1b23c9
commit 33dfa64963

View file

@ -162,7 +162,7 @@ impl Client {
Client {
default: Self::base(config).unwrap().build().unwrap(),
url_preview: Self::base(config).unwrap().build().unwrap(),
url_preview: Self::base(config).unwrap().redirect(redirect::Policy::limited(3)).build().unwrap(),
well_known: Self::base(config)
.unwrap()