From 41aec913019f38dd68faad62a19b8ea88ff8928f Mon Sep 17 00:00:00 2001 From: VPcodebase Date: Tue, 6 Jul 2021 17:09:55 +0300 Subject: [PATCH] fix: set to REACT_APP_PROD_ADDRESS socket --- src/api/explorer/ws/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/explorer/ws/index.ts b/src/api/explorer/ws/index.ts index fa5c4e0..e7ddfc6 100644 --- a/src/api/explorer/ws/index.ts +++ b/src/api/explorer/ws/index.ts @@ -1,6 +1,6 @@ import { io } from "socket.io-client"; -const socket = io(process.env.REACT_APP_DEV_ADDRESS as string, { +const socket = io(process.env.REACT_APP_PROD_ADDRESS as string, { transports: ["websocket"], });