From f641215a0d420e9800f3f2d5c24308c413aa3abd Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 14 Mar 2026 05:45:38 +0100 Subject: [PATCH] remove duplicate / in url regex --- src/api/util/handlers/Message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts index a42b7e595..bd0f7f2e3 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts @@ -56,7 +56,7 @@ const allow_empty = false; // TODO: check webhook, application, system author, stickers // TODO: embed gifs/videos/images -const LINK_REGEX = /?/g; +const LINK_REGEX = /?/g; export async function handleMessage(opts: MessageOptions): Promise { const channel = await Channel.findOneOrFail({