fix: incorrect certificate health logic (#2028)

This commit is contained in:
Lucas Smith
2025-09-13 18:07:39 +10:00
committed by GitHub
parent 2ecfdbdde5
commit 32ce573de4
2 changed files with 13 additions and 4 deletions

View File

@ -23,10 +23,12 @@ export const loader = async () => {
try {
const certStatus = getCertificateStatus();
if (certStatus.isAvailable) {
checks.certificate = { status: 'ok' };
} else {
checks.certificate = { status: 'warning' };
if (overallStatus === 'ok') {
overallStatus = 'warning';
}