mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: cache
This commit is contained in:
parent
d26e72aa96
commit
45e5949a69
@ -1,10 +1,10 @@
|
|||||||
"use server";
|
|
||||||
|
|
||||||
import { GetNezhaData } from "@/lib/serverFetch";
|
import { GetNezhaData } from "@/lib/serverFetch";
|
||||||
import { ServerStackIcon } from "@heroicons/react/20/solid";
|
import { ServerStackIcon } from "@heroicons/react/20/solid";
|
||||||
import DottedMap from "dotted-map";
|
import DottedMap from "dotted-map";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|
||||||
|
export const revalidate = 60
|
||||||
|
|
||||||
interface GlobalProps {
|
interface GlobalProps {
|
||||||
countries?: string[]; // 国家代码数组,如 ['CN', 'US']
|
countries?: string[]; // 国家代码数组,如 ['CN', 'US']
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user