🔧 Hard-coded the socket host
This commit is contained in:
@@ -6,8 +6,8 @@ import createRootReducer from "../reducers";
|
|||||||
import { io } from "socket.io-client";
|
import { io } 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";
|
||||||
|
console.log(SOCKET_BASE_URI);
|
||||||
const socketConnection = io(SOCKET_BASE_URI);
|
const socketConnection = io("http://ghost:3001");
|
||||||
|
|
||||||
export const history = createBrowserHistory();
|
export const history = createBrowserHistory();
|
||||||
const configureStore = (initialState) => {
|
const configureStore = (initialState) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user