This commit is contained in:
Super Manito 2022-06-13 18:17:47 +08:00
parent 55a6e5af42
commit 1c4ddaeddf

View file

@ -53,7 +53,7 @@ class Bark extends NotificationProvider {
if (notification.barkGroup != null) { if (notification.barkGroup != null) {
postUrl += "&group=" + notification.barkGroup; postUrl += "&group=" + notification.barkGroup;
} else { } else {
// default group // default group name
postUrl += "&group=" + "UptimeKuma"; postUrl += "&group=" + "UptimeKuma";
} }
// set icon to uptime kuma icon, 11kb should be fine // set icon to uptime kuma icon, 11kb should be fine
@ -62,7 +62,7 @@ class Bark extends NotificationProvider {
if (notification.barkSound != null) { if (notification.barkSound != null) {
postUrl += "&sound=" + notification.barkSound; postUrl += "&sound=" + notification.barkSound;
} else { } else {
// default sound // default app sound
postUrl += "&sound=" + "telegraph"; postUrl += "&sound=" + "telegraph";
} }
return postUrl; return postUrl;