follow 3 redirects for URL previews instead of 6

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry committed 2024-03-21 23:18:44 -04:00
1 parent b55bef15a1
commit 69522b4e98
1 file changed
+1 -1
+1 -1
View File
@@ -162,7 +162,7 @@ impl Client {
Client { Client {
default: Self::base(config).unwrap().build().unwrap(), 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) well_known: Self::base(config)
.unwrap() .unwrap()