mirror of
https://github.com/techgaun/active-forks.git
synced 2024-11-10 21:26:53 +01:00
Fetch 100 records (#14)
This commit is contained in:
parent
dadc89618d
commit
4ba7536121
@ -82,7 +82,7 @@ function fetchAndShow( repo ) {
|
||||
repo = repo.replace('http://github.com/', '');
|
||||
repo = repo.replace('.git', '');
|
||||
|
||||
fetch( `https://api.github.com/repos/${repo}/forks?sort=stargazers` )
|
||||
fetch( `https://api.github.com/repos/${repo}/forks?sort=stargazers&per_page=100` )
|
||||
.then( ( response ) => {
|
||||
if ( !response.ok )
|
||||
throw Error( response.statusText )
|
||||
|
Loading…
Reference in New Issue
Block a user