Fix VNC connection issue
This commit is contained in:
@ -269,7 +269,7 @@ pub async fn vnc(
|
||||
req: HttpRequest,
|
||||
stream: web::Payload,
|
||||
) -> HttpResult {
|
||||
let domain_id = manager.consume_token(token.0.token).await?;
|
||||
let domain_id = manager.use_token(token.0.token).await?;
|
||||
let domain = client.get_single_domain(domain_id).await?;
|
||||
|
||||
let socket_path = match domain.devices.graphics {
|
||||
|
Reference in New Issue
Block a user