From 7be86bb21bc51135efbb4013a29c44ce3abb2737 Mon Sep 17 00:00:00 2001 From: Tiago R Date: Sun, 26 Nov 2023 12:34:15 +0000 Subject: [PATCH] oops Signed-off-by: GitHub --- backend/src/utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/utils.ts b/backend/src/utils.ts index 1d31ac524..7b5460601 100644 --- a/backend/src/utils.ts +++ b/backend/src/utils.ts @@ -648,7 +648,6 @@ export function getUrlsInString(str: string, onlyUnique = false): MatchedURL[] { return urls; } - //let hostname = matchUrl.hostname.endsWith(".") ? matchUrl.hostname.slice(0, -1) : matchUrl.hostname; let hostname = matchUrl.hostname.toLowerCase(); if (hostname.length > 3) {