Fix counter GET

This commit is contained in:
logicog
2025-10-11 13:09:47 +02:00
parent 717247bc0e
commit 8efb9fb305
+1 -1
View File
@@ -419,7 +419,7 @@ void httpd_appcall(void)
} else if (!strcmp(q, "/vlan.json")) { } else if (!strcmp(q, "/vlan.json")) {
parse_short(q + 15); parse_short(q + 15);
send_vlan(short_parsed); send_vlan(short_parsed);
} else if (!strcmp(q, "/counters.json")) { } else if (is_word(q, "/counters.json")) {
send_counters(q[19]-'0'); send_counters(q[19]-'0');
} else { } else {
send_not_found(); send_not_found();