🤖 Adds small fixes to psychic

This commit is contained in:
Rune Harlyk
2024-06-06 21:54:19 +02:00
committed by Rune Harlyk
parent e81beeb36b
commit 4b76e90db3
2 changed files with 4 additions and 3 deletions
@@ -28,6 +28,7 @@ esp_err_t PsychicUploadHandler::handleRequest(PsychicRequest *request)
//save it for later (multipart)
_request = request;
_parsedLength = 0;
/* File cannot be larger than a limit */
if (request->contentLength() > request->server()->maxUploadSize)