feat: add monitored URL link to Google Chat notifications (#6588)

This commit is contained in:
Frank Elsinga 2026-01-06 00:54:44 +01:00 committed by GitHub
commit 4af0320493
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,6 +80,16 @@ class GoogleChat extends NotificationProvider {
}); });
} }
// add monitor address if available
const address = this.extractAddress(monitorJSON);
if (address) {
sectionWidgets.push({
textParagraph: {
text: `<b>Address:</b>\n${address}`,
},
});
}
// add button for monitor link if available // add button for monitor link if available
const baseURL = await setting("primaryBaseURL"); const baseURL = await setting("primaryBaseURL");
if (baseURL) { if (baseURL) {