diff --git a/src/app/page.tsx b/src/app/page.tsx index 404844b..c4e8f11 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -3,7 +3,12 @@ import Link from "next/link"; import Searchbar from "@/components/Searchbar/Searchbar"; export default async function Home() { - const buttons = await fetch("https://cdn.abtmtr.link/site_content/buttons.json", { next: { revalidate: 3600 } }).then(x=>x.json()).catch(_ => null); + const buttons = await fetch( + "https://cdn.abtmtr.link/site_content/buttons.json", + { next: { revalidate: 60 } } + ) + .then((x) => x.json()) + .catch((_) => null); const data = await fetch("https://pronouns.cc/api/v1/users/mtr", { next: { revalidate: 3600 } }).then(x=>x.json()).catch(_ => null); const domains = await fetch("https://cdn.abtmtr.link/site_content/domain.json", { next: { revalidate: 3600 } }) .then(x=>x.json()).catch(_ => "[]");