diff --git a/Argus/Argus.php b/Argus/Argus.php index 2c7880ddcc..5c61395ffd 100644 --- a/Argus/Argus.php +++ b/Argus/Argus.php @@ -17,7 +17,7 @@ public function __construct() public function test() { - $test = parent::appTest($this->url('status')); + $test = parent::appTest($this->url(endpoint: "/healthcheck")); echo $test->status; } @@ -34,7 +34,7 @@ public function livestats() public function url($endpoint) { - $api_url = parent::normaliseurl($this->config->url).$endpoint; + $api_url = parent::normaliseurl($this->config->url) . "/api/v1" . $endpoint; return $api_url; } } diff --git a/Argus/config.blade.php b/Argus/config.blade.php index 8ed840ea17..080f5b9aab 100644 --- a/Argus/config.blade.php +++ b/Argus/config.blade.php @@ -4,14 +4,14 @@ {!! Form::text('config[override_url]', null, array('placeholder' => __('app.apps.override'), 'id' => 'override_url', 'class' => 'form-control')) !!} -
+
diff --git a/Argus/livestats.blade.php b/Argus/livestats.blade.php index 4fa2c8bc4d..665e08ad8d 100644 --- a/Argus/livestats.blade.php +++ b/Argus/livestats.blade.php @@ -1,10 +1,14 @@ \ No newline at end of file