1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-11-25 22:41:57 +02:00

[Eliminate Blocking] Real Browser Monitor + Check Apprise (#5924)

This commit is contained in:
Louis Lam
2025-10-28 00:27:29 +08:00
committed by GitHub
parent 8f3cb770eb
commit afbd1ce0e9
4 changed files with 30 additions and 15 deletions

View File

@@ -1503,7 +1503,7 @@ let needSetup = false;
socket.on("checkApprise", async (callback) => {
try {
checkLogin(socket);
callback(Notification.checkApprise());
callback(await Notification.checkApprise());
} catch (e) {
callback(false);
}