This commit is contained in:
2026-04-10 00:18:59 +04:00
parent 60b88dd4d4
commit c24847ec18
3 changed files with 57 additions and 1 deletions
+1
View File
@@ -203,6 +203,7 @@ async fn run_check(client: &reqwest::Client, monitor: &Monitor, scheduled_at: Op
error: Some(e.clone()),
cert_expiry_days: None,
cert_issuer: None,
response_size: None,
meta: None,
region: Some(region.to_string()),
run_id: Some(run_id.to_string()),
+1
View File
@@ -373,6 +373,7 @@
if (ping.cert_expiry_days != null) html += `<div class="text-gray-500">Cert expiry</div><div class="text-gray-300">${ping.cert_expiry_days} days</div>`;
if (ping.cert_issuer) html += `<div class="text-gray-500">Cert issuer</div><div class="text-gray-300">${escapeHtml(ping.cert_issuer)}</div>`;
if (ping.response_size != null) html += `<div class="text-gray-500">Response size</div><div class="text-gray-300">${ping.response_size >= 1024 ? (ping.response_size / 1024).toFixed(1) + ' KB' : ping.response_size + ' B'}</div>`;
if (ping.important) html += `<div class="text-gray-500">Important</div><div class="text-yellow-400">Yes</div>`;
html += '</div>';
// Error