Skip to content

Commit 147c183

Browse files
committed
fixed base url in guzzle http client
1 parent 78eb4a8 commit 147c183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EtherpadLite/Request.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct($url, $apiKey, $method, $args = array())
3535
*/
3636
public function send()
3737
{
38-
$client = new HttpClient($this->url);
38+
$client = new HttpClient(['base_uri' => $this->url]);
3939

4040
return $client->get(
4141
$this->getUrlPath(),

0 commit comments

Comments
 (0)