From 431c890257177a27ed713306a783a812e6580961 Mon Sep 17 00:00:00 2001 From: Gautier couture <> Date: Sat, 16 Jan 2021 14:43:53 +0100 Subject: [PATCH] edit config.js :wrench: --- Dockerfile | 6 +++--- src/common/config.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a97fa6..60310f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app RUN yarn install -COPY . . +COPY . . -EXPOSE 8080 -CMD ["yarn", "serve"] \ No newline at end of file +EXPOSE 2020 +CMD ["yarn", "serve"] diff --git a/src/common/config.js b/src/common/config.js index bc3dc53..1e37816 100644 --- a/src/common/config.js +++ b/src/common/config.js @@ -1,5 +1,5 @@ export const API_URL = process.env.NODE_ENV === "production" - ? "https://tobedefined.io/api" + ? "https://secret-ocean-88862.herokuapp.com/api" : "http://localhost:2020/api"; export default API_URL;