Change to Pihole to close #81
This commit is contained in:
parent
25d2897fb9
commit
3e4a458fac
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ class Pihole implements Contracts\Applications, Contracts\Livestats {
|
|||
$config = $this->config;
|
||||
$url = $config->url;
|
||||
|
||||
$api_url = $url.'admin/api.php';
|
||||
$url = rtrim($url, '/');
|
||||
|
||||
$api_url = $url.'/api.php';
|
||||
//die( $api_url.' --- ');
|
||||
|
||||
$client = new Client(['http_errors' => false]);
|
||||
|
|
Loading…
Add table
Reference in a new issue