CauseFX 5 лет назад
Родитель
Сommit
2f3543a502
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api/homepage/healthchecks.php

+ 1 - 1
api/homepage/healthchecks.php

@@ -115,7 +115,7 @@ trait HealthChecksHomepageItem
 			$url = $this->qualifyURL($this->config['healthChecksURL']) . '/' . $tags;
 			try {
 				$headers = array('X-Api-Key' => $token);
-				$options = ($this->localURL($url)) ? array('verify' => false) : array();
+				$options = ($this->localURL($url)) ? array('verify' => false) : array('verify' => $this->getCert());
 				$response = Requests::get($url, $headers, $options);
 				if ($response->success) {
 					$healthResults = json_decode($response->body, true);