Merge pull request #630 from Wonderfall/fix-page-filter
Fix Pages filter when URL has a trailing slashpull/642/head
commit
fdbb5fcce7
|
@ -18,7 +18,7 @@ export const urlFilter = (data, { raw }) => {
|
||||||
return `${pathname}${search}`;
|
return `${pathname}${search}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return removeTrailingSlash(pathname);
|
return pathname;
|
||||||
} catch {
|
} catch {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue