mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-09-07 18:02:42 +00:00
Merge branch 'master' into feature/add-support-for-method-body-and-headers
This commit is contained in:
commit
fba4f86552
@ -12,6 +12,7 @@ const { R } = require("redbean-node");
|
|||||||
const { BeanModel } = require("redbean-node/dist/bean-model");
|
const { BeanModel } = require("redbean-node/dist/bean-model");
|
||||||
const { Notification } = require("../notification");
|
const { Notification } = require("../notification");
|
||||||
const version = require("../../package.json").version;
|
const version = require("../../package.json").version;
|
||||||
|
const apicache = require("../modules/apicache");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* status:
|
* status:
|
||||||
@ -366,6 +367,9 @@ class Monitor extends BeanModel {
|
|||||||
console.log(e);
|
console.log(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clear Status Page Cache
|
||||||
|
apicache.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -1047,6 +1047,10 @@ exports.entryPage = "dashboard";
|
|||||||
notificationIDList: {},
|
notificationIDList: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (monitorListData[i].pushToken) {
|
||||||
|
monitor.pushToken = monitorListData[i].pushToken;
|
||||||
|
}
|
||||||
|
|
||||||
let bean = R.dispense("monitor");
|
let bean = R.dispense("monitor");
|
||||||
|
|
||||||
let notificationIDList = monitor.notificationIDList;
|
let notificationIDList = monitor.notificationIDList;
|
||||||
|
Loading…
Reference in New Issue
Block a user