mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
chore(ui): Update dashboard and layout titles
- Rename application title to "Proxy Go控制台" - Reduce metrics and cache page refresh interval from 5s to 1s for more real-time updates
This commit is contained in:
parent
5c3fb00d57
commit
621900d227
2
web/app/dashboard/cache/page.tsx
vendored
2
web/app/dashboard/cache/page.tsx
vendored
@ -129,7 +129,7 @@ export default function CachePage() {
|
||||
fetchConfigs()
|
||||
|
||||
// 设置定时刷新
|
||||
const interval = setInterval(fetchStats, 5000)
|
||||
const interval = setInterval(fetchStats, 1000)
|
||||
return () => clearInterval(interval)
|
||||
}, [fetchStats, fetchConfigs])
|
||||
|
||||
|
@ -95,7 +95,7 @@ export default function DashboardPage() {
|
||||
|
||||
useEffect(() => {
|
||||
fetchMetrics()
|
||||
const interval = setInterval(fetchMetrics, 5000)
|
||||
const interval = setInterval(fetchMetrics, 1000)
|
||||
return () => clearInterval(interval)
|
||||
}, [fetchMetrics])
|
||||
|
||||
|
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user