From 2098d34c5be9e6f04d40e7a1e5b6f1d3041df03c Mon Sep 17 00:00:00 2001 From: DayShift <2922897389@qq.com> Date: Sat, 25 Jan 2025 19:46:17 +0800 Subject: [PATCH] fix the bug of regular item --- server/notification-providers/pushdeer.js | 2 +- server/notification-providers/whapi.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/notification-providers/pushdeer.js b/server/notification-providers/pushdeer.js index 276c2f476..428f44703 100644 --- a/server/notification-providers/pushdeer.js +++ b/server/notification-providers/pushdeer.js @@ -11,7 +11,7 @@ class PushDeer extends NotificationProvider { async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { const okMsg = "Sent Successfully."; const serverUrl = notification.pushdeerServer || "https://api2.pushdeer.com"; - const url = `${serverUrl.trim().replace(/\/*$/, "")}/message/push`; + const url = `${serverUrl.trim().replace(/(?