❌ Removed the hard-coded hostname
This commit is contained in:
@@ -39,6 +39,7 @@ services:
|
|||||||
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
|
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
|
||||||
environment:
|
environment:
|
||||||
SERVICES: api
|
SERVICES: api
|
||||||
|
UNDERLYING_HOSTNAME: ${UNDERLYING_HOSTNAME}
|
||||||
env_file: comicvine-service.env
|
env_file: comicvine-service.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- nats
|
- nats
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
UNDERLYING_HOSTNAME=ghost
|
|
||||||
@@ -6,7 +6,7 @@ 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(SOCKET_BASE_URI);
|
||||||
|
|
||||||
export const history = createBrowserHistory();
|
export const history = createBrowserHistory();
|
||||||
|
|||||||
Reference in New Issue
Block a user