mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 18:00:17 +01:00
fix(tracker): Correctly extract pathname
This commit is contained in:
parent
a555d59153
commit
e8da04bebe
@ -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…
Reference in New Issue
Block a user