mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-30 13:41:50 +02: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