mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-11 11:05:41 +00:00
support "TOGGLE", allow http cmnd
This commit is contained in:
@ -1077,8 +1077,8 @@ int http_fn_cm(http_request_t *request) {
|
||||
char tmpA[128];
|
||||
|
||||
http_setup(request, httpMimeTypeJson);
|
||||
if( http_getArg(request->url,"cmd",tmpA,sizeof(tmpA))) {
|
||||
//CMD_ExecuteCommand(
|
||||
if( http_getArg(request->url,"cmnd",tmpA,sizeof(tmpA))) {
|
||||
CMD_ExecuteCommand(tmpA);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user