fix: use lightweight /api/config for health checks and simplify UI status logic

This commit is contained in:
jgor20
2026-01-11 09:46:41 +00:00
parent c3629d660c
commit 5879022dc3
2 changed files with 3 additions and 3 deletions

View File

@@ -78,8 +78,8 @@ document.addEventListener('alpine:init', () => {
// Get password from global store
const password = Alpine.store('global').webuiPassword;
// Use lightweight health endpoint
const { response, newPassword } = await window.utils.request('/health', {}, password);
// Use lightweight endpoint (no quota fetching)
const { response, newPassword } = await window.utils.request('/api/config', {}, password);
if (newPassword) Alpine.store('global').webuiPassword = newPassword;