diff --git a/src/rust/lqosd/src/node_manager/js_build/src/pubsub/ws.js b/src/rust/lqosd/src/node_manager/js_build/src/pubsub/ws.js index 586f7b7f..5af1f2ee 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/pubsub/ws.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/pubsub/ws.js @@ -6,7 +6,7 @@ export function subscribeWS(channels, handler) { ws.close(); } - ws = new WebSocket('ws://' + window.location.host + '/ws'); + ws = new WebSocket('ws://' + window.location.host + '/websocket/ws'); ws.onopen = () => { for (let i=0; i Result<()> { // Construct the router from parts let router = Router::new() - .nest("/", websocket_router()) + .nest("/websocket/", websocket_router()) .nest("/vendor", vendor_route()?) // Serve /vendor as purely static .nest("/", static_routes()?) .nest("/local-api", local_api());