mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-13 11:44:29 +05:00
refactor: increased max request size for /api/settings
This commit is contained in:
@@ -413,7 +413,7 @@ protected:
|
|||||||
this->webServer->send(406);
|
this->webServer->send(406);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
} else if (plain.length() > 2048) {
|
} else if (plain.length() > 2536) {
|
||||||
this->webServer->send(413);
|
this->webServer->send(413);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user