❌ Removed the hard-coded hostname
This commit is contained in:
@@ -39,6 +39,7 @@ services:
|
||||
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
|
||||
environment:
|
||||
SERVICES: api
|
||||
UNDERLYING_HOSTNAME: ${UNDERLYING_HOSTNAME}
|
||||
env_file: comicvine-service.env
|
||||
depends_on:
|
||||
- nats
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
UNDERLYING_HOSTNAME=ghost
|
||||
@@ -6,7 +6,7 @@ import createRootReducer from "../reducers";
|
||||
import { io } from "socket.io-client";
|
||||
import socketIoMiddleware from "redux-socket.io-middleware";
|
||||
import { SOCKET_BASE_URI } from "../constants/endpoints";
|
||||
console.log(SOCKET_BASE_URI);
|
||||
|
||||
const socketConnection = io(SOCKET_BASE_URI);
|
||||
|
||||
export const history = createBrowserHistory();
|
||||
|
||||
Reference in New Issue
Block a user