diff --git a/server/notification.js b/server/notification.js index ffd030cb..8c7e9f5e 100644 --- a/server/notification.js +++ b/server/notification.js @@ -26,7 +26,7 @@ class Notification { } await axios.post(`${notification.gotifyserverurl}/message?token=${notification.gotifyapplicationToken}`, { "message": msg, - "priority": 8, + "priority": notification.gotifyPriority || 8, "title": "Uptime-Kuma" }) return true; diff --git a/src/components/NotificationDialog.vue b/src/components/NotificationDialog.vue index d08cb501..73354f2c 100644 --- a/src/components/NotificationDialog.vue +++ b/src/components/NotificationDialog.vue @@ -182,6 +182,11 @@ + +