1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-04 23:57:29 +02:00

refactor: frontpage and proxy setting (#4214)

This commit is contained in:
Dag
2024-08-18 19:11:11 +02:00
committed by GitHub
parent e9d3a657ba
commit c0e37bcf35
5 changed files with 26 additions and 17 deletions

View File

@@ -113,6 +113,7 @@ final class CurlHttpClient implements HttpClient
if ($config['proxy']) {
curl_setopt($ch, CURLOPT_PROXY, $config['proxy']);
}
if (curl_setopt_array($ch, $config['curl_options']) === false) {
throw new \Exception('Tried to set an illegal curl option');
}