From bf68e0a7bccce3d5c0a2d46c872e7698fb13cc6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=80=A0xu=5Fzh?= Date: Fri, 21 Jul 2023 14:11:13 +0000 Subject: [PATCH] fix: define pushdeerlink --- server/notification-providers/pushdeer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/pushdeer.js b/server/notification-providers/pushdeer.js index cba3fce2f..288137d18 100644 --- a/server/notification-providers/pushdeer.js +++ b/server/notification-providers/pushdeer.js @@ -10,7 +10,7 @@ class PushDeer extends NotificationProvider { let okMsg = "Sent Successfully."; let endpoint = "/message/push"; let serverUrl = notification.pushdeerServer || "https://api2.pushdeer.com"; - pushdeerlink = `${serverUrl.trim().replace(/\/*$/, "")}${endpoint}`; + let pushdeerlink = `${serverUrl.trim().replace(/\/*$/, "")}${endpoint}`; let valid = msg != null && monitorJSON != null && heartbeatJSON != null;