fix(frontend): 修复重启后健康检查接口路径错误

将 /api/health 改为 /health,与后端实际注册的路由一致
This commit is contained in:
shaw
2026-02-06 19:53:39 +08:00
parent 9f4c1ef9f9
commit 260c152166

View File

@@ -491,7 +491,7 @@ async function checkServiceAndReload() {
for (let i = 0; i < maxRetries; i++) {
try {
const response = await fetch('/api/health', {
const response = await fetch('/health', {
method: 'GET',
cache: 'no-cache'
})