🔧 Debugging port issues with Portainer deploys
This commit is contained in:
@@ -36,9 +36,9 @@ export const IMPORT_SERVICE_BASE_URI = hostURIBuilder({
|
|||||||
apiPath: "/api/import",
|
apiPath: "/api/import",
|
||||||
});
|
});
|
||||||
|
|
||||||
// export const SOCKET_BASE_URI = hostURIBuilder({
|
export const SOCKET_BASE_URI = hostURIBuilder({
|
||||||
// protocol: "http",
|
protocol: "http",
|
||||||
// host: process.env.LIBRARY_SOCKET_HOST || "localhost",
|
host: process.env.LIBRARY_SOCKET_HOST || "localhost",
|
||||||
// port: "3001",
|
port: "3001",
|
||||||
// apiPath: `/`,
|
apiPath: `/`,
|
||||||
// });
|
});
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ import thunk from "redux-thunk";
|
|||||||
import createRootReducer from "../reducers";
|
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`);
|
|
||||||
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