Skip to content

Commit 9ad7999

Browse files
committed
Fixes siteUrlStr to siteUrl
Mistaken variable name
1 parent 91525c2 commit 9ad7999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processors/external_links_icon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function externalLinksIcon(siteUrl: URL) {
1616

1717
try {
1818
//const linkUrl = new URL(href, page.data.url || siteUrlStr);
19-
const linkUrl = new URL(href, siteUrlStr);
19+
const linkUrl = new URL(href, siteUrl);
2020

2121
const isExternal =
2222
(linkUrl.protocol === "http:" || linkUrl.protocol === "https:") &&

0 commit comments

Comments
 (0)