Skip to content

Commit

Permalink
fix: add per_page params on github releases endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Jan 9, 2025
1 parent 6cd392a commit 85cd9a1
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 85cd9a1

Please sign in to comment.