From a42f7416b525a9f067b9a5fb187429560782ab3c Mon Sep 17 00:00:00 2001 From: Mikkel-T Date: Sun, 2 Oct 2022 19:29:33 +0200 Subject: [PATCH] Improve the URL field in Discord embeds Instead of having two different ways of showing the URL field in Discord embeds, always show the raw address. --- server/notification-providers/discord.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/discord.js b/server/notification-providers/discord.js index 28ead7b7..3f1fc334 100644 --- a/server/notification-providers/discord.js +++ b/server/notification-providers/discord.js @@ -91,7 +91,7 @@ class Discord extends NotificationProvider { }, { name: monitorJSON["type"] === "push" ? "Service Type" : "Service URL", - value: monitorJSON["type"] === "push" ? "Heartbeat" : address.startsWith("http") ? "[Visit Service](" + address + ")" : address, + value: monitorJSON["type"] === "push" ? "Heartbeat" : address, }, { name: "Time (UTC)",