mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
Small fixes
This commit is contained in:
parent
1eb8abae85
commit
e29ee7dbb3
@ -1344,7 +1344,7 @@ export function MonitorChart({
|
||||
if={
|
||||
!isCurrentlyNotMonitoring &&
|
||||
checkLogs &&
|
||||
(type === 'url' || type === 'api' || type === 'ip')
|
||||
(type === 'url' || type === 'api')
|
||||
}
|
||||
>
|
||||
<div
|
||||
|
@ -58,12 +58,12 @@ const pingfetch = async IPAddress => {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user