mirror of https://github.com/Lissy93/dashy.git
🔀 Merge pull request #1562 from alhazmy13/master
Update Github trending widget
This commit is contained in:
commit
d4ac785b1b
|
@ -77,11 +77,11 @@ export default {
|
||||||
slug: repo.repo,
|
slug: repo.repo,
|
||||||
desc: repo.desc,
|
desc: repo.desc,
|
||||||
lang: repo.lang,
|
lang: repo.lang,
|
||||||
link: repo.repo_link,
|
link: `https://github.com/${repo.repo}`,
|
||||||
stars: repo.stars,
|
stars: repo.stars,
|
||||||
forks: repo.forks,
|
forks: repo.forks,
|
||||||
newStars: parseInt(repo.added_stars, 10),
|
newStars: repo.change,
|
||||||
avatar: repo.avatars[0] || 'https://github.com/fluidicon.png',
|
avatar: repo.build_by[0] || 'https://github.com/fluidicon.png',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
if (this.limit && this.limit < results.length) {
|
if (this.limit && this.limit < results.length) {
|
||||||
|
|
|
@ -233,7 +233,7 @@ module.exports = {
|
||||||
ethGasHistory: 'https://ethgas.watch/api/gas/trend',
|
ethGasHistory: 'https://ethgas.watch/api/gas/trend',
|
||||||
exchangeRates: 'https://v6.exchangerate-api.com/v6/',
|
exchangeRates: 'https://v6.exchangerate-api.com/v6/',
|
||||||
flights: 'https://aerodatabox.p.rapidapi.com/flights/airports/icao/',
|
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',
|
hackernewsTrending: 'https://hacker-news.firebaseio.com/v0',
|
||||||
healthChecks: 'https://healthchecks.io/api/v1/checks',
|
healthChecks: 'https://healthchecks.io/api/v1/checks',
|
||||||
holidays: 'https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange',
|
holidays: 'https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange',
|
||||||
|
|
Loading…
Reference in New Issue