ssl
This commit is contained in:
1 parent
ee04ac2b98
commit
686b96d4b3
5 files changed
+50
-6
No files matched your search
@@ -69,6 +69,7 @@ const UptimeDetailsPage = () => {
|
||||
}
|
||||
|
||||
const stats = response?.data?.stats || null;
|
||||
console.log(stats);
|
||||
const avgResponseTime = stats?.avgResponseTime || 0;
|
||||
const maxResponseTime = stats?.maxResponseTime || 0;
|
||||
|
||||
@@ -132,6 +133,14 @@ const UptimeDetailsPage = () => {
|
||||
stats?.lastResponseTime ? `${stats?.lastResponseTime} ms` : "N/A"
|
||||
}
|
||||
/>
|
||||
<StatBox
|
||||
title="Certificate Expiry"
|
||||
subtitle={
|
||||
stats?.certificateExpiry
|
||||
? new Date(stats.certificateExpiry).toLocaleString()
|
||||
: "N/A"
|
||||
}
|
||||
/>
|
||||
</Stack>
|
||||
<HeaderRange
|
||||
loading={isValidating || upIsValidating || downIsValidating}
|
||||
|
||||
@@ -14,6 +14,7 @@ export interface IMonitorStats {
|
||||
currentStreak: number;
|
||||
currentStreakStatus: MonitorStatus;
|
||||
currentStreakStartedAt: number;
|
||||
certificateExpiry?: Date | null;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
Reference in new issue
Block a user