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 committed Dec 29, 2023
1 parent 4beffd4 commit f401b27
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 f401b27

Please sign in to comment.