fix: data repetition

This commit is contained in:
hamster1963 2024-08-02 11:58:47 +08:00
parent f7cf5320f4
commit 63ec46642e

View File

@ -21,7 +21,7 @@ export async function GetNezhaData() {
Authorization: process.env.NezhaAuth as string, Authorization: process.env.NezhaAuth as string,
}, },
next: { next: {
revalidate: 1, revalidate: 0,
}, },
}); });
const nezhaData = (await response.json()).result as NezhaAPI[]; const nezhaData = (await response.json()).result as NezhaAPI[];