fix: cache

This commit is contained in:
hamster1963 2024-11-20 00:47:17 +08:00
parent d26e72aa96
commit 45e5949a69

View File

@ -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']
} }