diff --git a/dashboard/src/components/monitor/MonitorChart.js b/dashboard/src/components/monitor/MonitorChart.js index e26e032e14..1ae6208d93 100755 --- a/dashboard/src/components/monitor/MonitorChart.js +++ b/dashboard/src/components/monitor/MonitorChart.js @@ -1344,7 +1344,7 @@ export function MonitorChart({ if={ !isCurrentlyNotMonitoring && checkLogs && - (type === 'url' || type === 'api' || type === 'ip') + (type === 'url' || type === 'api') } >
{ res = new Date().getTime() - now; resp = { - status: isAlive ? 200 : 503, + status: isAlive ? 200 : 408, body: null, }; rawResp = { body: null, - status: isAlive ? 200 : 503, + status: isAlive ? 200 : 408, }; } catch (error) { res = new Date().getTime() - now;