Skip to content

Commit 732e439

Browse files
Fix local path behavior
1 parent d6fd878 commit 732e439

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scripts/Utils/PageUtils/page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export function isExternalLink(url: string): boolean {
22
if (url.startsWith("/")) {
3-
return true;
3+
return false;
44
}
55
try {
66
return new URL(url).host !== window.location.host;

0 commit comments

Comments
 (0)