Skip to content

Commit

Permalink
fix: add per_page params on github releases endpoint (#4425)
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored Jan 9, 2025
1 parent 6cd392a commit 48aa053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Home from "@/components/Home"

export const getStaticProps = async() => {
const resReleaseLatest = await fetch('https://api.github.com/repos/janhq/jan/releases/latest')
const resRelease = await fetch('https://api.github.com/repos/janhq/jan/releases')
const resRelease = await fetch('https://api.github.com/repos/janhq/jan/releases?per_page=500')
const resRepo = await fetch('https://api.github.com/repos/janhq/jan')
const repo = await resRepo.json()
const latestRelease = await resReleaseLatest.json()
Expand Down

0 comments on commit 48aa053

Please sign in to comment.