4
0
Эх сурвалжийг харах

temp fix for healthchecks

CauseFX 5 жил өмнө
parent
commit
2f3543a502

+ 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);