From e1a8bd333d9f955a41d0e65da28ef6e45077e9de Mon Sep 17 00:00:00 2001 From: Priere <44214460+shiyouganai@users.noreply.github.com> Date: Wed, 6 Dec 2023 03:41:54 -0500 Subject: [PATCH] Fix comment --- website/astro.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 3a18ce54..8310fa0c 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -29,7 +29,7 @@ function relativeURLFix() { return rehypeUrls((url) => { // NOTE: the base argument to the URL constructor is ignored if the input is already // absolute and used if not, which facilitates the comparison below - // true if url is relative + // true if origins are same, and relative urls are considered as origin equal to site var value if (new URL(site).origin === new URL(url.href, site).origin) { let newHref = baseNoTrailing; if (url.href.startsWith('#')) {