|
|
@ -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;
|
|
|
|