From 454fe7380f5b42db65a6e98bbe5eae6bba6aeb72 Mon Sep 17 00:00:00 2001 From: wood chen Date: Sun, 1 Dec 2024 02:13:32 +0800 Subject: [PATCH] fix(public): update metrics API endpoint for consistency --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index bc9e69d..6682e66 100644 --- a/public/index.html +++ b/public/index.html @@ -210,7 +210,7 @@ async function loadMetrics() { try { - const response = await fetch('/api/metrics'); + const response = await fetch('/metrics'); const data = await response.json(); // 添加数据验证