mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Update
This commit is contained in:
parent
55a6e5af42
commit
1c4ddaeddf
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue