We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cba930 commit 9a05e60Copy full SHA for 9a05e60
proxy.php
@@ -42,7 +42,7 @@
42
CURLOPT_URL => $url,
43
CURLOPT_HTTPHEADER => $headers,
44
CURLOPT_HEADER => true,
45
- ] + $opts + [
+ ] + ($opts??[]) + [
46
CURLOPT_FOLLOWLOCATION => true,
47
CURLOPT_MAXREDIRS => $maxredirs,
48
]);
0 commit comments