diff --git a/src/Request.php b/src/Request.php index 499fc60..56d64ff 100644 --- a/src/Request.php +++ b/src/Request.php @@ -95,7 +95,7 @@ protected function options(){ $this->options['timeout'] = $this->options['timeout'] ?? 60; - if($this->options['proxy']===true) { + if(isset($this->options['proxy']) && $this->options['proxy']===true) { $this->options['proxy']=[ 'http' => 'http://127.0.0.1:12333', 'https' => 'http://127.0.0.1:12333',