Fix GitHub widget/data endpoints to prefer /github/api routes

This commit is contained in:
svemagie
2026-03-08 05:44:36 +01:00
parent 64e861873e
commit 722ff22328
10 changed files with 120 additions and 60 deletions

View File

@@ -182,8 +182,8 @@ function changelogApp() {
async fetchChangelog(days) {
try {
const result = await this.fetchJson([
'/githubapi/api/changelog?days=' + days,
'/github/api/changelog?days=' + days,
'/githubapi/api/changelog?days=' + days,
]);
if (!result.ok) throw new Error('Failed to fetch');