From 78b2b5ccc3380a5176faa8651eb2312157af6f60 Mon Sep 17 00:00:00 2001 From: Priere <44214460+shiyouganai@users.noreply.github.com> Date: Wed, 6 Dec 2023 17:54:29 -0500 Subject: [PATCH] Don't trim serialized query part of URL --- website/astro.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 6ef307ef..c5ca3317 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -38,6 +38,7 @@ function relativeURLFix() { // append trailing slash to resource only if there is no file extension newHref += url.pathname.endsWith('/') ? '' : '/'; } + newHref += url.search || ''; newHref += url.hash || ''; } else { // leave this URL alone