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;