Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 8f85745

Browse files
Adam GrohsAdam Grohs
Adam Grohs
authored and
Adam Grohs
committed
chore: removed debug logs
1 parent a4d35a7 commit 8f85745

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ const parseURL = url => {
5353
}
5454

5555
const isAuthorized = (referer, whitelist = []) => {
56-
console.log('whitelist', whitelist)
56+
// console.log('whitelist', whitelist)
5757
const { hostname, protocol } = parseURL(referer)
58-
console.log('hostname', hostname)
59-
console.log('protocol', protocol)
58+
// console.log('hostname', hostname)
59+
// console.log('protocol', protocol)
6060
return (
6161
isWhitelisted(hostname, whitelist) &&
6262
(protocol === 'https:' ||

0 commit comments

Comments
 (0)