Fixed build.

This commit is contained in:
Mike Cao 2025-09-29 15:13:01 -07:00
parent 257050f749
commit 1d7759408f
11 changed files with 24 additions and 61 deletions

View file

@ -196,10 +196,7 @@ export async function POST(request: Request) {
referrerPath = referrerUrl.pathname;
referrerQuery = referrerUrl.search.substring(1);
if (referrerUrl.hostname !== 'localhost') {
referrerDomain = referrerUrl.hostname.replace(/^www\./, '');
}
referrerDomain = referrerUrl.hostname.replace(/^www\./, '');
}
const eventType = linkId