From 63ec46642eccf00c4397b716ecb38484dac24c05 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Fri, 2 Aug 2024 11:58:47 +0800 Subject: [PATCH] fix: data repetition --- lib/serverFetch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/serverFetch.tsx b/lib/serverFetch.tsx index 6058678..bf6f1aa 100644 --- a/lib/serverFetch.tsx +++ b/lib/serverFetch.tsx @@ -21,7 +21,7 @@ export async function GetNezhaData() { Authorization: process.env.NezhaAuth as string, }, next: { - revalidate: 1, + revalidate: 0, }, }); const nezhaData = (await response.json()).result as NezhaAPI[];