This commit is contained in:
ccjon 2019-07-24 00:39:46 +00:00 committed by GitHub
commit 3c8d662dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ function fetchAndShow(repo) {
repo = repo.replace('https://github.com/', '');
repo = repo.replace('http://github.com/', '');
repo = repo.replace('.git', '');
repo = repo.replace(/^github.com\//, '');
fetch(
`https://api.github.com/repos/${repo}/forks?sort=stargazers&per_page=100`