Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
metal0 authored Nov 26, 2023
1 parent db9f6e8 commit 7be86bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7be86bb

Please sign in to comment.