fix: proxy options in ItemController

The correct context is http->proxy :

https://www.php.net/manual/en/context.http.php
This commit is contained in:
Fabien Ehrlich
2026-05-13 11:35:13 +02:00
committed by GitHub
parent 7861ae1512
commit 6a776e30f8
+1 -1
View File
@@ -271,7 +271,7 @@ class ItemController extends Controller
$httpsProxy = getenv('HTTPS_PROXY');
$httpsProxyLower = getenv('https_proxy');
if ($httpsProxy !== false || $httpsProxyLower !== false) {
$options['proxy']['http'] = $httpsProxy ?: $httpsProxyLower;
$options['http']['proxy'] = $httpsProxy ?: $httpsProxyLower;
}
$file = $request->input('icon');