curl follow location by default

This commit is contained in:
davidovski
2023-08-30 21:06:09 +01:00
parent 73c5b4b98e
commit 01fe983009
+2
View File
@@ -88,6 +88,8 @@
$opts->frontends[$frontend]["instance_url"] = $_COOKIE[$frontend] ?? $opts->frontends[$frontend]["instance_url"];
}
$opts->curl_settings[CURLOPT_FOLLOWLOCATION] ??= true;
return $opts;
}