From a61d7bf9c1ddea5ac60b09f39fa8dbb953f73fa8 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 09:13:47 +1100 Subject: [PATCH] Update Astro site URL to awesome-copilot.github.com with root base path (#925) * Initial plan * chore: update Astro site URL to awesome-copilot.github.com with root base path Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> --- website/astro.config.mjs | 4 ++-- website/src/integrations/pagefind-resources.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 76a8d50a..e6e3866f 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -5,8 +5,8 @@ import pagefindResources from "./src/integrations/pagefind-resources"; // https://astro.build/config export default defineConfig({ - site: "https://github.github.com/", - base: "/awesome-copilot/", + site: "https://awesome-copilot.github.com/", + base: "/", output: "static", integrations: [ starlight({ diff --git a/website/src/integrations/pagefind-resources.ts b/website/src/integrations/pagefind-resources.ts index 1a7efab5..95a56335 100644 --- a/website/src/integrations/pagefind-resources.ts +++ b/website/src/integrations/pagefind-resources.ts @@ -86,7 +86,7 @@ export default function pagefindResources(): AstroIntegration { records = []; } - // Use the base path from Astro config (e.g. "/awesome-copilot/") + // Use the base path from Astro config (e.g. "/") const base = siteBase.endsWith("/") ? siteBase : `${siteBase}/`; let added = 0;