Merge branch 'master' into fix-ci

pull/4557/head
DevMirza 2 months ago committed by GitHub
commit e0bab787e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -23,6 +23,8 @@ class HomeAssistant extends NotificationProvider {
...(notificationService !== "persistent_notification" && { data: {
name: monitorJSON?.name,
status: heartbeatJSON?.status,
channel: "Uptime Kuma",
icon_url: "https://github.com/louislam/uptime-kuma/blob/master/public/icon.png?raw=true",
} }),
},
{

@ -1619,15 +1619,15 @@ async function afterLogin(socket, user) {
socket.join(user.id);
let monitorList = await server.sendMonitorList(socket);
await sendInfo(socket);
await server.sendMaintenanceList(socket);
await sendNotificationList(socket);
await sendProxyList(socket);
await sendDockerHostList(socket);
await sendAPIKeyList(socket);
await sendRemoteBrowserList(socket);
await sleep(500);
await Promise.allSettled([
sendInfo(socket),
server.sendMaintenanceList(socket),
sendNotificationList(socket),
sendProxyList(socket),
sendDockerHostList(socket),
sendAPIKeyList(socket),
sendRemoteBrowserList(socket),
]);
await StatusPage.sendStatusPageList(io, socket);

Loading…
Cancel
Save