···23232424 if (url.pathname.startsWith("/docs")) {
2525 const origin = docsOrigin(url.host);
2626- let response = await fetch(new URL(url.pathname, origin));
2626+ let response = await fetch(new URL(url.pathname, docsOrigin(url.host)));
2727+ console.log({ from: url, to: new URL(url.pathname, docsOrigin(url.host)) });
2828+27292830 // Special case for Starlight's 404 page
2931 let status = response.status;