Skip to content

Commit

Permalink
feat: send ref with screening request (#2036)
Browse files Browse the repository at this point in the history
  • Loading branch information
spsjvc authored Oct 29, 2024
1 parent 828a8b8 commit 342b399
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ async function isBlocked(address: Address): Promise<boolean> {

const url = new URL(process.env.NEXT_PUBLIC_SCREENING_API_ENDPOINT ?? '')
url.searchParams.set('address', address)
url.searchParams.set('ref', window.location.hostname)

const response = await fetch(url, {
method: 'GET',
Expand Down

0 comments on commit 342b399

Please sign in to comment.