mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Fixed build.
This commit is contained in:
parent
257050f749
commit
1d7759408f
11 changed files with 24 additions and 61 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue