fix(login): fetch version from /api/health instead of hardcoding, bump v0.4.8

Login page had 'NixServer v0.3.2 · Port 2087' hardcoded and subtitle
said 'Web Host Manager'. Now fetches version from GET /api/health on
mount (no auth needed) and shows it dynamically. Changed subtitle to
'Admin Panel'.
This commit is contained in:
NixReaper
2026-04-11 15:02:18 -05:00
parent 9ec39c9120
commit 0362810681
4 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ export async function buildApp() {
fastify.get('/api/health', async () => ({
status: 'ok',
version: '0.4.7',
version: '0.4.8',
timestamp: new Date().toISOString(),
}))