diff --git a/explorer/public/assets/js/main.js b/explorer/public/assets/js/main.js index 12c188d4d9..6ad2a8d79e 100644 --- a/explorer/public/assets/js/main.js +++ b/explorer/public/assets/js/main.js @@ -1,10 +1,10 @@ function websocketUrl() { if ($(location).attr("href").startsWith("http://localhost")) { - return "ws://localhost:8080"; - } else if ($(location).attr("href").startsWith("https://qa-dashboard")) { - return "wss://qa-metrics.nymtech.net"; + return "ws://localhost:1648"; + } else if ($(location).attr("href").startsWith("http://qa-explorer")) { + return "ws://qa-explorer.nymtech.net:1648"; } else { - return "wss://metrics.nymtech.net"; + return "ws://testnet-explorer.nymtech.net:1648"; } } diff --git a/explorer/src/main.rs b/explorer/src/main.rs index 9997722455..24df8945e0 100644 --- a/explorer/src/main.rs +++ b/explorer/src/main.rs @@ -53,7 +53,7 @@ async fn main() { }); tokio::spawn(async move { - websockets::listen(8080, sender_clone).await; + websockets::listen(1648, sender_clone).await; }); jobs::start(validator_base_url).await;