From 185a9ff383029fca535c660c865a460af1fbe8f4 Mon Sep 17 00:00:00 2001 From: tchawou-daniel Date: Mon, 18 Jan 2021 18:59:27 +0100 Subject: [PATCH] :wrench: improve config.js --- src/common/config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/config.js b/src/common/config.js index b519161..e26ba3c 100644 --- a/src/common/config.js +++ b/src/common/config.js @@ -1,5 +1,6 @@ export const API_URL = process.env.NODE_ENV === "production" - ? "https://tobedefined.io/api" - : "https://mysterious-anchorage-24698.herokuapp.com/"; + ? "https://mysterious-anchorage-24698.herokuapp.com/api" + : "http://localhost:2020/api"; + export default API_URL;