From 3e8bb6f7114ddb6c3a3980ebd75dda47e4d96005 Mon Sep 17 00:00:00 2001 From: Leo Nash Date: Sat, 17 Jan 2026 02:13:46 +0000 Subject: [PATCH] Log the base path prefix that VSS listens on Users have to pass this prefix to `VssClient::new`, otherwise the connection fails. --- rust/server/src/main.rs | 2 +- rust/server/src/vss_service.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/server/src/main.rs b/rust/server/src/main.rs index 9092ff2..cfc529f 100644 --- a/rust/server/src/main.rs +++ b/rust/server/src/main.rs @@ -124,7 +124,7 @@ fn main() { println!("Failed to bind listening port: {}", e); std::process::exit(-1); }); - println!("Listening for incoming connections on {}", config.bind_address); + println!("Listening for incoming connections on {}{}", config.bind_address, crate::vss_service::BASE_PATH_PREFIX); loop { tokio::select! { diff --git a/rust/server/src/vss_service.rs b/rust/server/src/vss_service.rs index 811bbbd..f641c0e 100644 --- a/rust/server/src/vss_service.rs +++ b/rust/server/src/vss_service.rs @@ -30,7 +30,7 @@ impl VssService { } } -const BASE_PATH_PREFIX: &str = "/vss"; +pub(crate) const BASE_PATH_PREFIX: &str = "/vss"; impl Service> for VssService { type Response = Response>;