Skip to content

Commit a61d7bf

Browse files
Copilotaaronpowell
andauthored
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>
1 parent fca5de1 commit a61d7bf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

website/astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import pagefindResources from "./src/integrations/pagefind-resources";
55

66
// https://astro.build/config
77
export default defineConfig({
8-
site: "https://github.github.com/",
9-
base: "/awesome-copilot/",
8+
site: "https://awesome-copilot.github.com/",
9+
base: "/",
1010
output: "static",
1111
integrations: [
1212
starlight({

website/src/integrations/pagefind-resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default function pagefindResources(): AstroIntegration {
8686
records = [];
8787
}
8888

89-
// Use the base path from Astro config (e.g. "/awesome-copilot/")
89+
// Use the base path from Astro config (e.g. "/")
9090
const base = siteBase.endsWith("/") ? siteBase : `${siteBase}/`;
9191

9292
let added = 0;

0 commit comments

Comments
 (0)