From 16ab2425e5a40f1208ee3e29aeba4af8c7cbb9cf Mon Sep 17 00:00:00 2001 From: DayShift <113507098+ShiyuBanzhou@users.noreply.github.com> Date: Sun, 26 Jan 2025 01:28:58 +0800 Subject: [PATCH] Update whapi.js More concise and reasonable regular expression fix --- server/notification-providers/whapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/whapi.js b/server/notification-providers/whapi.js index 1ac8bdc8a..956c265e4 100644 --- a/server/notification-providers/whapi.js +++ b/server/notification-providers/whapi.js @@ -24,7 +24,7 @@ class Whapi extends NotificationProvider { "body": msg, }; - let url = (notification.whapiApiUrl || "https://gate.whapi.cloud/").replace(/(?