From 95ee4d7a406cf65ae5ecc4172c40e72cf5fb7794 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Mon, 1 Nov 2021 01:32:02 -0700 Subject: [PATCH] =?UTF-8?q?=E2=8F=AA=20Reinstating=20socket=20connection?= =?UTF-8?q?=20to=20"rook"?= 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 a1433f6..d93c04e 100644 --- a/src/client/store/index.ts +++ b/src/client/store/index.ts @@ -6,7 +6,7 @@ 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(`http://rook:3001`); +const socketConnection = io(`http://rook:3001`); export const history = createBrowserHistory(); const configureStore = (initialState) => { @@ -15,7 +15,7 @@ const configureStore = (initialState) => { initialState, compose( applyMiddleware( - // socketIoMiddleware(socketConnection), + socketIoMiddleware(socketConnection), thunk, routerMiddleware(history), ),