mirror of
https://github.com/kou029w/quot.git
synced 2025-01-31 06:18:01 +00:00
limit=24
This commit is contained in:
parent
d0faead5db
commit
92eaf9125a
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import Card from "../components/card";
|
|||
async function fetchPages(): Promise<Pages.Response> {
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue