diff --git a/src/components/Widgets/GitHubTrending.vue b/src/components/Widgets/GitHubTrending.vue index 9a4c217b..c6376b6c 100644 --- a/src/components/Widgets/GitHubTrending.vue +++ b/src/components/Widgets/GitHubTrending.vue @@ -77,11 +77,11 @@ export default { slug: repo.repo, desc: repo.desc, lang: repo.lang, - link: repo.repo_link, + link: `https://github.com/${repo.repo}`, stars: repo.stars, forks: repo.forks, - newStars: parseInt(repo.added_stars, 10), - avatar: repo.avatars[0] || 'https://github.com/fluidicon.png', + newStars: repo.change, + avatar: repo.build_by[0] || 'https://github.com/fluidicon.png', }); }); if (this.limit && this.limit < results.length) { diff --git a/src/utils/defaults.js b/src/utils/defaults.js index e28c0326..f952a18b 100644 --- a/src/utils/defaults.js +++ b/src/utils/defaults.js @@ -233,7 +233,7 @@ module.exports = { ethGasHistory: 'https://ethgas.watch/api/gas/trend', exchangeRates: 'https://v6.exchangerate-api.com/v6/', flights: 'https://aerodatabox.p.rapidapi.com/flights/airports/icao/', - githubTrending: 'https://gh-trending-repos.herokuapp.com/', + githubTrending: 'https://trend.doforce.xyz/', hackernewsTrending: 'https://hacker-news.firebaseio.com/v0', healthChecks: 'https://healthchecks.io/api/v1/checks', holidays: 'https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange',