💩 Increase fetch limit

This commit is contained in:
LittleSheep 2024-02-10 02:36:32 +08:00
parent f81cf2ff9b
commit 573df18723
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ const { slug } = Astro.params;
const response = await fetch(
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
offset: (0).toString(),
take: (10).toString(),
take: (100).toString(),
category: slug ?? "none",
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
})}`,

View File

@ -7,7 +7,7 @@ export const prerender = false;
const response = await fetch(
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
offset: (0).toString(),
take: (10).toString(),
take: (100).toString(),
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
})}`,
);

View File

@ -11,7 +11,7 @@ const { slug } = Astro.params;
const response = await fetch(
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
offset: (0).toString(),
take: (10).toString(),
take: (100).toString(),
tag: slug ?? "none",
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
})}`,