🔧 Switching to container name for socket host

This commit is contained in:
2021-11-01 00:26:29 -07:00
parent 434fbd782f
commit 4e960d272e

View File

@@ -6,7 +6,7 @@ import createRootReducer from "../reducers";
import socketIO from "socket.io-client";
import socketIoMiddleware from "redux-socket.io-middleware";
// import { SOCKET_BASE_URI } from "../constants/endpoints";
const io = socketIO(`http://localhost:3001`);
const io = socketIO(`http://importapi:3001`);
export const history = createBrowserHistory();
const configureStore = (initialState) => {
const store = createStore(