Removed the hard-coded hostname

This commit is contained in:
2021-11-04 17:25:28 -07:00
parent 1e74363411
commit beb39fbf31
3 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -1 +0,0 @@
UNDERLYING_HOSTNAME=ghost

View File

@@ -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();