Add ping endpoint, update-refresh prompt, and dark-mode polish
All checks were successful
CI/CD Pipeline / deploy (push) Successful in 26s
CI/CD Pipeline / promote_stable (push) Successful in 2s

This commit is contained in:
2026-02-24 18:48:54 +01:00
parent 2a69ee8258
commit 0b4e0df305
9 changed files with 218 additions and 17 deletions

View File

@@ -129,6 +129,15 @@ export async function fetchVersion() {
return apiFetch('/version')
}
export async function fetchPing() {
const response = await fetch('/ping', {
headers: {
Accept: 'application/json',
},
})
return parseResponse(response)
}
export async function fetchVersionCheck() {
return apiFetch('/version/check')
}