diff --git a/app/api/monitor/route.ts b/app/api/monitor/route.ts index 2db4d45..939cffe 100644 --- a/app/api/monitor/route.ts +++ b/app/api/monitor/route.ts @@ -2,6 +2,8 @@ import { ServerMonitorChart } from "@/app/[locale]/types/nezha-api"; import { GetServerMonitor } from "@/lib/serverFetch"; import { NextResponse } from "next/server"; +export const runtime = 'edge'; + interface NezhaDataResponse { error?: string; data?: ServerMonitorChart;