fix(version): cache-bust refresh + clear stale state on manual check, bump to v0.4.5
The refresh/retry button called fetchVersion() without clearing versionInfo first, so the old value stayed displayed with no feedback. On manual refresh it now immediately sets versionInfo to null (shows spinner) then fetches with ?_t=Date.now() to bypass any browser cache of the API response. Bump version to 0.4.5 to include all fixes since 0.4.4 (day/night toggle, uptime/kill allowlist, auto-retry on version error).
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ export async function buildApp() {
|
||||
|
||||
fastify.get('/api/health', async () => ({
|
||||
status: 'ok',
|
||||
version: '0.4.4',
|
||||
version: '0.4.5',
|
||||
timestamp: new Date().toISOString(),
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user