From d0faead5db89c2c9cc5f1c897b35455f6e4638e7 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 12 Sep 2022 23:17:40 +0900 Subject: [PATCH] limit=50 --- 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 125e038..a324034 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`, + `${import.meta.env.QUOT_API_ENDPOINT}/pages?order=updated.desc&limit=50`, { headers: jwt ? { authorization: `Bearer ${jwt}` } : {} } ); const data = (await res.json()) as Pages.Response;