Show synced nodes above non-synced nodes

This commit is contained in:
maciejhirsz
2018-07-19 13:00:30 +02:00
parent 520e4cd98f
commit a6df9dc8e6
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -15,6 +15,8 @@ export class Connection {
? `wss://${window.location.hostname}/feed/`
: `ws://${window.location.hostname}:8080`;
// private static readonly address = 'wss://telemetry.polkadot.io/feed/';
private static async socket(): Promise<WebSocket> {
let socket = await Connection.trySocket();
let timeout = TIMEOUT_BASE;