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.
2 parents 8c723c0 + f0b49cd commit 3bf588dCopy full SHA for 3bf588d
browser/websocket/makeChanges.ts
@@ -107,6 +107,8 @@ const findLinksAndImage = (
107
}
108
case "root": {
109
const link = cutId(node.href);
110
+ // ignore `/project` or `/project/`
111
+ if (/^\/[\w\d-]+\/?$/.test(link)) return;
112
if (projectLinksLc.has(toTitleLc(link))) return;
113
projectLinksLc.add(toTitleLc(link));
114
projectLinks.push(link);
0 commit comments