From 48aa0533a5c4189c3e440af7933e1668ceaf68ea Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Thu, 9 Jan 2025 14:44:35 +0700 Subject: [PATCH] fix: add per_page params on github releases endpoint (#4425) --- docs/src/pages/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/index.mdx b/docs/src/pages/index.mdx index 43c0875d76..4a22a7174f 100644 --- a/docs/src/pages/index.mdx +++ b/docs/src/pages/index.mdx @@ -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()