From a85a67c0d0379bf60b8bc82d77312184a978ef39 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Thu, 19 Mar 2026 00:27:27 +0100 Subject: [PATCH] fix(changelog): correct API endpoint path from /githubapi/ to /github/ The IndieKit endpoint-github is mounted at /github, not /githubapi. The wrong path returned a login page instead of JSON, leaving the changelog empty for readers. Co-Authored-By: Claude Opus 4.6 --- changelog.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.njk b/changelog.njk index 61b30c5..2db5a11 100644 --- a/changelog.njk +++ b/changelog.njk @@ -155,7 +155,7 @@ function changelogApp() { async fetchChangelog(days) { try { - const response = await fetch('/githubapi/api/changelog?days=' + days); + const response = await fetch('/github/api/changelog?days=' + days); if (!response.ok) throw new Error('Failed to fetch'); const data = await response.json(); this.commits = data.commits || [];