mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 09:04:44 +02:00
refactor: frontpage and proxy setting (#4214)
This commit is contained in:
parent
e9d3a657ba
commit
c0e37bcf35
5 changed files with 26 additions and 17 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue