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:
2026-03-03 01:15:17 -05:00
parent 3428808f83
commit e8b53dc953
5 changed files with 37 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
internal esp_err_t api_system_info_handler(httpd_req_t *req) {
httpd_resp_set_type(req, "application/json");
httpd_resp_set_hdr(req, "Access-Control-Allow-Origin", "*");
cJSON *root = cJSON_CreateObject();