Skip to content

Commit ea8ab5a

Browse files
committed
Increase per_page for GH API request in download stats page
Eventually we will exceed the default limit of 30
1 parent 0f6cd31 commit ea8ab5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/stats.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1>Packager Extras</h1>
2525
<main id="packager-extras"><p>Loading...</p></main>
2626
<script>
2727
const fetchStats = (repo, main) => {
28-
fetch(`https://api.github.com/repos/${repo}/releases`)
28+
fetch(`https://api.github.com/repos/${repo}/releases?per_page=100`)
2929
.then((r) => {
3030
if (!r.ok) throw new Error('Unexpected status code: ' + r.status);
3131
return r.json();

0 commit comments

Comments
 (0)