NixReaper 90dbf94c18 fix(layout): use authenticated api client for version/upgrade calls
Plain axios was called without the Authorization header, so the
requireAdmin middleware rejected every request with 401. The catch
block set versionError but the error state was also not yet deployed,
leaving the spinner stuck on 'Checking version…' forever.

Switch both axios.get('/api/nixserver/system/version') and
axios.post('/api/nixserver/system/upgrade') to the api client from
../api/client, which automatically attaches Bearer token from
localStorage on every request.
2026-04-11 14:15:48 -05:00
2026-04-05 10:45:21 -05:00
2026-04-05 07:18:10 -05:00
S
Description
No description provided
Readme
380 KiB
Languages
TypeScript 93.8%
Shell 5.3%
CSS 0.6%
JavaScript 0.2%
HTML 0.1%