fix(tracker): Correctly extract pathname
This commit is contained in:
1 parent
a555d59153
commit
e8da04bebe
1 file changed
+1
-3
@@ -42,9 +42,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
const getPath = url => {
|
const getPath = url => new URL(url).pathname;
|
||||||
new URL(url).pathname;
|
|
||||||
};
|
|
||||||
|
|
||||||
const getPayload = () => ({
|
const getPayload = () => ({
|
||||||
website,
|
website,
|
||||||
|
|||||||
Reference in new issue
Block a user