We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isProfile
1 parent 19c4a6a commit bbaf41cCopy full SHA for bbaf41c
index.ts
@@ -517,7 +517,7 @@ collect.set('isBranches', [
517
518
export const isProfile = (url: URL | HTMLAnchorElement | Location = location): boolean => {
519
const pathname = getCleanPathname(url);
520
- return pathname.length > 0 && !pathname.includes('/') && !reservedNames.includes(pathname);
+ return pathname.length > 0 && !pathname.includes('/') && !pathname.includes('.') && !reservedNames.includes(pathname);
521
};
522
523
collect.set('isProfile', [
0 commit comments