diff --git a/static/index.html b/static/index.html index b770569..b732d0e 100644 --- a/static/index.html +++ b/static/index.html @@ -2778,7 +2778,7 @@ async function loadSystemInfo() { // 数据库状态检测 try { - await api('GET', '/../health'); + await fetch(window.location.origin + '/health'); document.getElementById('sys-db-status').innerHTML = '正常'; } catch (_) {