mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
chore(website): switch to revalidate on fetch level
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user