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 => {
|
||||
new URL(url).pathname;
|
||||
};
|
||||
const getPath = url => new URL(url).pathname;
|
||||
|
||||
const getPayload = () => ({
|
||||
website,
|
||||
|
||||
Reference in new issue
Block a user