diff --git a/web/app/dashboard/cache/page.tsx b/web/app/dashboard/cache/page.tsx index 137ef30..cd64083 100644 --- a/web/app/dashboard/cache/page.tsx +++ b/web/app/dashboard/cache/page.tsx @@ -129,7 +129,7 @@ export default function CachePage() { fetchConfigs() // 设置定时刷新 - const interval = setInterval(fetchStats, 5000) + const interval = setInterval(fetchStats, 1000) return () => clearInterval(interval) }, [fetchStats, fetchConfigs]) diff --git a/web/app/dashboard/page.tsx b/web/app/dashboard/page.tsx index 67beea6..a9b84b2 100644 --- a/web/app/dashboard/page.tsx +++ b/web/app/dashboard/page.tsx @@ -95,7 +95,7 @@ export default function DashboardPage() { useEffect(() => { fetchMetrics() - const interval = setInterval(fetchMetrics, 5000) + const interval = setInterval(fetchMetrics, 1000) return () => clearInterval(interval) }, [fetchMetrics]) diff --git a/web/app/layout.tsx b/web/app/layout.tsx index 68d9ea1..a28a2e4 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -6,8 +6,8 @@ import { Toaster } from "@/components/ui/toaster"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { - title: "代理服务管理后台", - description: "代理服务管理后台", + title: "Proxy Go控制台", + description: "Proxy Go控制台", }; export default function RootLayout({