From be846e6a5fc6af1084e2b7408dfc312061cc47f9 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 11 Feb 2025 06:27:43 +0000
Subject: [PATCH] chore(deps): bump sigstore/cosign-installer in the ci-dependencies group (#1762)

---
 quartz/components/scripts/util.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/components/scripts/util.ts b/quartz/components/scripts/util.ts
index c1db8ba..ff486cf 100644
--- a/quartz/components/scripts/util.ts
+++ b/quartz/components/scripts/util.ts
@@ -41,5 +41,5 @@
   // to allow the caller to read it if it's was not a redirect
   const text = await res.clone().text()
   const [_, redirect] = text.match(canonicalRegex) ?? []
-  return redirect ? fetch(redirect) : res
+  return redirect ? fetch(`${new URL(redirect, url)}`) : res
 }

--
Gitblit v1.10.0