[http options] fine tune

This commit is contained in:
Louis Lam 2021-10-15 18:36:40 +08:00
parent 4e71ab7406
commit cd211a6be7
4 changed files with 53 additions and 45 deletions

View file

@ -180,6 +180,10 @@ class Monitor extends BeanModel {
debug("Cert Info Query Time: " + (dayjs().valueOf() - certInfoStartTime) + "ms");
}
if (process.env.UPTIME_KUMA_LOG_RESPONSE_BODY_MONITOR_ID == this.id) {
console.log(res.data);
}
if (this.type === "http") {
bean.status = UP;
} else {