From 92eaf9125aa5502bc7fd6981af71935fb3d351c3 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 12 Sep 2022 23:34:05 +0900 Subject: [PATCH] limit=24 --- app/views/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/pages/index.tsx b/app/views/pages/index.tsx index a324034..1585a84 100644 --- a/app/views/pages/index.tsx +++ b/app/views/pages/index.tsx @@ -6,7 +6,7 @@ import Card from "../components/card"; async function fetchPages(): Promise { const jwt = window.localStorage.getItem("jwt"); const res = await fetch( - `${import.meta.env.QUOT_API_ENDPOINT}/pages?order=updated.desc&limit=50`, + `${import.meta.env.QUOT_API_ENDPOINT}/pages?order=updated.desc&limit=24`, { headers: jwt ? { authorization: `Bearer ${jwt}` } : {} } ); const data = (await res.json()) as Pages.Response;