🔧 Switching to container name for socket host
This commit is contained in:
@@ -6,7 +6,7 @@ import createRootReducer from "../reducers";
|
|||||||
import socketIO from "socket.io-client";
|
import socketIO from "socket.io-client";
|
||||||
import socketIoMiddleware from "redux-socket.io-middleware";
|
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`);
|
const io = socketIO(`http://importapi:3001`);
|
||||||
export const history = createBrowserHistory();
|
export const history = createBrowserHistory();
|
||||||
const configureStore = (initialState) => {
|
const configureStore = (initialState) => {
|
||||||
const store = createStore(
|
const store = createStore(
|
||||||
|
|||||||
Reference in New Issue
Block a user