chore(website): switch to revalidate on fetch level

This commit is contained in:
iCrawl
2023-04-10 12:51:13 +02:00
parent 3ea4d26ee9
commit 0019700869
5 changed files with 5 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
export const fetcher = async (url: string) => {
const res = await fetch(url);
const res = await fetch(url, { next: { revalidate: 3_600 } });
return res.json();
};