mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 06:59:02 +08:00
Update syncwebserver.cpp
fix hard coded web error code
This commit is contained in:
parent
67be0d0512
commit
46f2d27a7b
@ -82,7 +82,7 @@ void pushError(int code, const char * st, bool web_error = 500, uint16_t timeout
|
||||
if (web_error != 0) {
|
||||
if (web_interface) {
|
||||
if (web_interface->web_server.client().available() > 0) {
|
||||
web_interface->web_server.send (500, "text/xml", st);
|
||||
web_interface->web_server.send (web_error, "text/xml", st);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user