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 <noreply@anthropic.com>
This commit is contained in:
@@ -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 || [];
|
||||
|
||||
Reference in New Issue
Block a user