mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: data repetition
This commit is contained in:
parent
f7cf5320f4
commit
63ec46642e
@ -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[];
|
||||||
|
Loading…
Reference in New Issue
Block a user