💩 Increase fetch limit
This commit is contained in:
parent
f81cf2ff9b
commit
573df18723
@ -11,7 +11,7 @@ const { slug } = Astro.params;
|
|||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
|
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
|
||||||
offset: (0).toString(),
|
offset: (0).toString(),
|
||||||
take: (10).toString(),
|
take: (100).toString(),
|
||||||
category: slug ?? "none",
|
category: slug ?? "none",
|
||||||
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
|
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
|
||||||
})}`,
|
})}`,
|
||||||
|
@ -7,7 +7,7 @@ export const prerender = false;
|
|||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
|
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
|
||||||
offset: (0).toString(),
|
offset: (0).toString(),
|
||||||
take: (10).toString(),
|
take: (100).toString(),
|
||||||
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
|
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
|
||||||
})}`,
|
})}`,
|
||||||
);
|
);
|
||||||
|
@ -11,7 +11,7 @@ const { slug } = Astro.params;
|
|||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
|
`https://feed.smartsheep.studio/api/posts?${new URLSearchParams({
|
||||||
offset: (0).toString(),
|
offset: (0).toString(),
|
||||||
take: (10).toString(),
|
take: (100).toString(),
|
||||||
tag: slug ?? "none",
|
tag: slug ?? "none",
|
||||||
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
|
realmId: process.env.PUBLIC_REALM_ID ?? (0).toString(),
|
||||||
})}`,
|
})}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user