mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-23 06:19:49 -05:00
Update
This commit is contained in:
parent
55a6e5af42
commit
1c4ddaeddf
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user