From 5b5975865451f2697f3eca4779a1817d053bd259 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 4 Nov 2021 14:48:36 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fixed=20an=20egregious=20t?= =?UTF-8?q?ypo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 -- environment.list | 2 +- src/client/store/index.ts | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) 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) => {