mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
fix(tracker): Correctly extract pathname
This commit is contained in:
parent
a555d59153
commit
e8da04bebe
1 changed files with 1 additions and 3 deletions
|
|
@ -42,9 +42,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
const getPath = url => {
|
const getPath = url => new URL(url).pathname;
|
||||||
new URL(url).pathname;
|
|
||||||
};
|
|
||||||
|
|
||||||
const getPayload = () => ({
|
const getPayload = () => ({
|
||||||
website,
|
website,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue