fix format

This commit is contained in:
gebeto 2025-12-24 01:06:29 +02:00
parent bb63a284c8
commit 51303c83ae

View File

@ -68,7 +68,6 @@ void CrossPointWebServer::begin() {
// Upload endpoint with special handling for multipart form data
server->on("/upload", HTTP_ANY, [this] { handleUploadPost(); }, [this] { handleUpload(); });
// Create folder endpoint
server->on("/mkdir", HTTP_POST, [this] { handleCreateFolder(); });
@ -481,7 +480,6 @@ void CrossPointWebServer::handleDelete() const {
}
if (server->method() == HTTP_POST) {
// Get path from form data
if (!server->hasArg("path")) {
server->send(400, "text/plain", "Missing path");