3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-07 02:57:20 +00:00
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Tiago R 2023-11-26 12:34:15 +00:00 committed by GitHub
parent abd5b15588
commit 089d7a7b65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -648,7 +648,6 @@ export function getUrlsInString(str: string, onlyUnique = false): MatchedURL[] {
return urls; return urls;
} }
//let hostname = matchUrl.hostname.endsWith(".") ? matchUrl.hostname.slice(0, -1) : matchUrl.hostname;
let hostname = matchUrl.hostname.toLowerCase(); let hostname = matchUrl.hostname.toLowerCase();
if (hostname.length > 3) { if (hostname.length > 3) {