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 || [];