From 8f23b5a251187550c17d23102414b98a7634d328 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 4 Nov 2021 10:20:13 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Hard-coded=20the=20socket=20host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/store/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/store/index.ts b/src/client/store/index.ts index f29bea6..1e8587a 100644 --- a/src/client/store/index.ts +++ b/src/client/store/index.ts @@ -6,8 +6,8 @@ import createRootReducer from "../reducers"; import { io } from "socket.io-client"; import socketIoMiddleware from "redux-socket.io-middleware"; import { SOCKET_BASE_URI } from "../constants/endpoints"; - -const socketConnection = io(SOCKET_BASE_URI); +console.log(SOCKET_BASE_URI); +const socketConnection = io("http://ghost:3001"); export const history = createBrowserHistory(); const configureStore = (initialState) => {