diff --git a/veilid-core/src/network_manager/native/protocol/ws.rs b/veilid-core/src/network_manager/native/protocol/ws.rs index 96a97b11..f7aa768c 100644 --- a/veilid-core/src/network_manager/native/protocol/ws.rs +++ b/veilid-core/src/network_manager/native/protocol/ws.rs @@ -191,9 +191,9 @@ impl WebsocketProtocolHandler { pub fn new(config: VeilidConfig, tls: bool) -> Self { let c = config.get(); let path = if tls { - format!("GET /{}", c.network.protocol.ws.path.trim_end_matches('/')) - } else { format!("GET /{}", c.network.protocol.wss.path.trim_end_matches('/')) + } else { + format!("GET /{}", c.network.protocol.ws.path.trim_end_matches('/')) }; let connection_initial_timeout_ms = if tls { c.network.tls.connection_initial_timeout_ms