From 434fbd782fc013c993a6943eda575ec387f26784 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Mon, 1 Nov 2021 00:24:13 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Another=20socket=20host=20hack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/store/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/store/index.ts b/src/client/store/index.ts index ea4c666..aa15326 100644 --- a/src/client/store/index.ts +++ b/src/client/store/index.ts @@ -5,7 +5,8 @@ import thunk from "redux-thunk"; import createRootReducer from "../reducers"; import socketIO from "socket.io-client"; import socketIoMiddleware from "redux-socket.io-middleware"; -import { SOCKET_BASE_URI } from "../constants/endpoints"; +// import { SOCKET_BASE_URI } from "../constants/endpoints"; +const io = socketIO(`http://localhost:3001`); export const history = createBrowserHistory(); const configureStore = (initialState) => { const store = createStore(