Ver Fonte

olympia wsLocation

Joystream Stats há 2 anos atrás
pai
commit
73f25b5a2f
2 ficheiros alterados com 3 adições e 2 exclusões
  1. 2 1
      src/components/Dashboard/Status.jsx
  2. 1 1
      src/config.ts

+ 2 - 1
src/components/Dashboard/Status.jsx

@@ -1,4 +1,5 @@
 import React from "react";
+import { wsLocation } from "../../config";
 
 const Status = (props: {
   connected: boolean,
@@ -9,7 +10,7 @@ const Status = (props: {
   if (!connected)
     return (
       <div className="connecting" onClick={toggleShowStatus}>
-        Connecting ..
+        Connecting to {wsLocation}
       </div>
     );
   if (!fetching.length) return <div />;

+ 1 - 1
src/config.ts

@@ -1,6 +1,6 @@
 export const historyDepth = 336;
 export const domain = "https://pioneer.joystreamstats.live";
-export const wsLocation = "wss://joystreamstats.live:9945";
+export const wsLocation = "wss://3.87.51.41.nip.io/ws-rpc";
 export const apiLocation = "https://joystreamstats.live/api"
 export const socketLocation = "/socket.io"
 export const hydraLocation = "https://hydra.joystream.org/graphql"