Skip to content

Commit 022ee5e

Browse files
authored
Merge pull request #81 from tankyleo/26-01-log-prefix
Log the base path prefix that VSS listens on
2 parents 5d13e11 + 3e8bb6f commit 022ee5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust/server/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ fn main() {
124124
println!("Failed to bind listening port: {}", e);
125125
std::process::exit(-1);
126126
});
127-
println!("Listening for incoming connections on {}", config.bind_address);
127+
println!("Listening for incoming connections on {}{}", config.bind_address, crate::vss_service::BASE_PATH_PREFIX);
128128

129129
loop {
130130
tokio::select! {

rust/server/src/vss_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl VssService {
3030
}
3131
}
3232

33-
const BASE_PATH_PREFIX: &str = "/vss";
33+
pub(crate) const BASE_PATH_PREFIX: &str = "/vss";
3434

3535
impl Service<Request<Incoming>> for VssService {
3636
type Response = Response<Full<Bytes>>;

0 commit comments

Comments
 (0)