diff --git a/app/(main)/ClientComponents/Global.tsx b/app/(main)/ClientComponents/Global.tsx index c4d601c..b69abec 100644 --- a/app/(main)/ClientComponents/Global.tsx +++ b/app/(main)/ClientComponents/Global.tsx @@ -1,10 +1,10 @@ -"use server"; - import { GetNezhaData } from "@/lib/serverFetch"; import { ServerStackIcon } from "@heroicons/react/20/solid"; import DottedMap from "dotted-map"; import Link from "next/link"; +export const revalidate = 60 + interface GlobalProps { countries?: string[]; // 国家代码数组,如 ['CN', 'US'] }