🔀 Merge pull request #1562 from alhazmy13/master

Update Github trending widget
This commit is contained in:
Alicia Sykes 2024-06-03 23:19:40 +01:00 committed by GitHub
commit d4ac785b1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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',