From cd7c7cd7be4cf5d000de617e2e76d6fb0aa76c06 Mon Sep 17 00:00:00 2001 From: Kieran Date: Wed, 26 Mar 2025 18:58:00 +0000 Subject: [PATCH] fix: disable terminal proxy --- src/api/routes.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/routes.rs b/src/api/routes.rs index 1458af5..bbaf623 100644 --- a/src/api/routes.rs +++ b/src/api/routes.rs @@ -656,6 +656,7 @@ async fn v1_terminal_proxy( id: u64, ws: ws::WebSocket, ) -> Result, &'static str> { + return Err("Disabled"); let auth = Nip98Auth::from_base64(auth).map_err(|e| "Missing or invalid auth param")?; if auth .check(&format!("/api/v1/vm/{id}/console"), "GET")