Update lib/filters.js
Co-authored-by: Rohan Deb Sarkar <rohandebsarkar+git@gmail.com>pull/1283/head
parent
fbc33ce746
commit
b90b2b9bb2
|
@ -56,7 +56,7 @@ export const refFilter = (data, { domain, domainOnly, raw }) => {
|
|||
const cleanUrl = url => {
|
||||
try {
|
||||
if (url === '') {
|
||||
return 'direct';
|
||||
return 'direct/none';
|
||||
}
|
||||
|
||||
const { hostname, origin, pathname, searchParams, protocol } = new URL(url);
|
||||
|
|
Loading…
Reference in New Issue