fix desktop hot reloading

This commit is contained in:
Evan Almloff committed 2023-07-18 11:55:56 -07:00
1 parent 0c5025ffa0
commit 2c1c147828
15 files changed
+130 -115

No files matched your search

@@ -378,7 +378,7 @@ impl ServerFnHandler {
.to_vec()
.into();
let body = hyper::body::to_bytes(req.body_mut().unwrap()).await;
let Ok(body)=body else {
let Ok(body) = body else {
handle_error(body.err().unwrap(), res);
return;
};