diff --git a/server/notification.js b/server/notification.js index a321c324b..961768ac1 100644 --- a/server/notification.js +++ b/server/notification.js @@ -21,6 +21,9 @@ class Notification { } else if (notification.type === "gotify") { try { + if (notification.gotifyserverurl.endsWith("/")) { + notification.gotifyserverurl = notification.gotifyserverurl.slice(0, -1); + } await axios.post(`${notification.gotifyserverurl}/message?token=${notification.gotifyapplicationToken}`, { "message": msg, "priority": 8,