switch liveview to sledgehammer
This commit is contained in:
1 parent
8b411b8c6d
commit
f20b740abe
17 files changed
+791
-583
No files matched your search
@@ -20,5 +20,5 @@ fn transform_rx(message: Result<Message, axum::Error>) -> Result<Vec<u8>, LiveVi
|
||||
}
|
||||
|
||||
async fn transform_tx(message: Vec<u8>) -> Result<Message, axum::Error> {
|
||||
Ok(Message::Text(String::from_utf8_lossy(&message).to_string()))
|
||||
Ok(Message::Binary(message))
|
||||
}
|
||||
Reference in new issue
Block a user