mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Fix counter GET
This commit is contained in:
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user