diff --git a/Dockerfile b/Dockerfile index 1ed1f5e..57d93c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,6 @@ FROM node:12.21.0 LABEL maintainer="Rishi Ghan " -ENV UNDERLYING_HOST ghost - RUN mkdir -p /usr/src/threetwo WORKDIR /usr/src/threetwo diff --git a/environment.list b/environment.list index 3f6c679..3bc9d91 100644 --- a/environment.list +++ b/environment.list @@ -1 +1 @@ -UNDERLYING_HOST=ghost \ No newline at end of file +UNDERLYING_HOSTNAME=ghost \ No newline at end of file diff --git a/src/client/store/index.ts b/src/client/store/index.ts index 1e8587a..ee9f63c 100644 --- a/src/client/store/index.ts +++ b/src/client/store/index.ts @@ -7,7 +7,7 @@ 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("http://ghost:3001"); +const socketConnection = io(SOCKET_BASE_URI); export const history = createBrowserHistory(); const configureStore = (initialState) => {