Updated backend to make sure it works properly with frontend. Fixed one frontend issue (free heap was not correctly named)

This commit is contained in:
Patedam committed 2026-03-03 01:15:17 -05:00
1 parent 3428808f83
commit e8b53dc953
5 files changed
+37 -1

No files matched your search

+5 -1
View File
@@ -17,7 +17,11 @@ export async function getSystemInfo() {
if (!res.ok) {
throw new Error(`HTTP ${res.status}: ${res.statusText}`);
}
return res.json();
const data = await res.json();
return {
...data,
freeHeap: data.free_heap
};
}
/**