diff --git a/src/shotter.rs b/src/shotter.rs index 1e8559c..8acf690 100644 --- a/src/shotter.rs +++ b/src/shotter.rs @@ -30,7 +30,7 @@ pub async fn take_one_screenshot( map.insert("Origin", origin.parse().unwrap()); map.insert("Sec-WebSocket-Protocol", "guacamole".parse().unwrap()); - match tokio_tungstenite::connect_async(req).await { + match tokio_tungstenite::connect_async_with_config(req, None, true).await { Ok(ws) => { tracing::trace!("connected to CollabVM server");