Update lib/filters.js
Co-authored-by: Rohan Deb Sarkar <rohandebsarkar+git@gmail.com>
This commit is contained in:
committed by
GitHub
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);
|
||||
|
||||
Reference in New Issue
Block a user