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>
This commit is contained in:
Copilot
2026-03-09 09:13:47 +11:00
committed by GitHub
parent fca5de1f6a
commit a61d7bf9c1
2 changed files with 3 additions and 3 deletions

View File

@@ -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({

View File

@@ -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;