Whitespace changes.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@ -18,9 +18,9 @@ File upload_file;
|
||||
|
||||
void http_server_handle_file_upload() {
|
||||
if (http_server.uri() != "/upload") return;
|
||||
|
||||
|
||||
HTTPUpload upload = http_server.upload();
|
||||
|
||||
|
||||
if (upload.status == UPLOAD_FILE_START) {
|
||||
String filename = upload.filename;
|
||||
if (!filename.startsWith("/")) filename = "/" + filename;
|
||||
@ -159,7 +159,7 @@ void http_server_setup() {
|
||||
}
|
||||
});
|
||||
http_server.begin();
|
||||
|
||||
|
||||
MDNS.addService("_http", "_tcp", 80);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user