summaryrefslogtreecommitdiff
path: root/docs/src/components/AvatarList.astro
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/components/AvatarList.astro')
-rw-r--r--docs/src/components/AvatarList.astro6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/components/AvatarList.astro b/docs/src/components/AvatarList.astro
index 09fc089b9..589e296b9 100644
--- a/docs/src/components/AvatarList.astro
+++ b/docs/src/components/AvatarList.astro
@@ -1,8 +1,8 @@
---
// fetch all commits for just this page's path
-const { path } = Astro.props;
-const url = `https://api.github.com/repos/snowpackjs/astro-docs/commits?path=${path}`;
-const commitsURL = `https://github.com/snowpackjs/astro-docs/commits/main/${path}`;
+const path = "docs/" + Astro.props.path;
+const url = `https://api.github.com/repos/snowpackjs/astro/commits?path=${path}`;
+const commitsURL = `https://github.com/snowpackjs/astro/commits/main/${path}`;
async function getCommits(url) {
try {