mirror of https://github.com/supernets/LibreY.git
curl follow location by default
This commit is contained in:
parent
73c5b4b98e
commit
01fe983009
|
@ -88,6 +88,8 @@
|
|||
$opts->frontends[$frontend]["instance_url"] = $_COOKIE[$frontend] ?? $opts->frontends[$frontend]["instance_url"];
|
||||
}
|
||||
|
||||
$opts->curl_settings[CURLOPT_FOLLOWLOCATION] ??= true;
|
||||
|
||||
return $opts;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue