mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-28 16:12:39 +00:00
build(deps): update to axum 0.8, rusqlite 0.33, tokio-tungstenite 0.26, thiserror 2
This commit is contained in:
parent
b56f8897ff
commit
740e540b4b
9 changed files with 294 additions and 323 deletions
|
@ -168,9 +168,7 @@ impl Server {
|
|||
let url = format!("ws://{}/_blah/ws", self.domain());
|
||||
let (mut ws, _) = tokio_tungstenite::connect_async(url).await.unwrap();
|
||||
if let Some(user) = auth_user {
|
||||
ws.send(tokio_tungstenite::tungstenite::Message::Text(auth(user)))
|
||||
.await
|
||||
.unwrap();
|
||||
ws.send(auth(user).into()).await.unwrap();
|
||||
}
|
||||
Ok(ws
|
||||
.map(|ret| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue