Skip to content

Commit dee8b5e

Browse files
authored
Update index.ts
1 parent 2c8c56d commit dee8b5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ function checkUrl(string, hostname) {
2121
} catch (error) {
2222
return false;
2323
}
24+
console.log(url.hostname)
25+
console.log(hostname)
26+
console.log(url.hostname == hostname)
2427
if (url.hostname == hostname) return false;
2528
return true;
2629
}

0 commit comments

Comments
 (0)