play with config page

This commit is contained in:
2023-12-19 10:45:56 +01:00
parent 303bdd131f
commit 066b3ec24f
2 changed files with 65 additions and 9 deletions

View File

@@ -30,7 +30,6 @@ pub fn httpd(initial_config:bool) -> EspHttpServer<'static> {
response.write(include_bytes!("ota.js"))?;
return Ok(())
}).unwrap();
server
.fn_handler("/ota", Method::Post, |mut request| {
let ota = OtaUpdate::begin();