Fix GitHub widget/data endpoints to prefer /github/api routes
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user