From 9dea998d2013bb466b64eedce806eb4a5e8d536c Mon Sep 17 00:00:00 2001 From: john Date: Fri, 13 May 2022 12:08:25 +0700 Subject: [PATCH] Removal possibly conficts in dev env --- public/index.html | 2 +- src/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index de5b0e9..f5316fb 100644 --- a/public/index.html +++ b/public/index.html @@ -22,7 +22,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + %REACT_APP_NAME% diff --git a/src/config.js b/src/config.js index 6f1d791..13aca82 100644 --- a/src/config.js +++ b/src/config.js @@ -1,7 +1,7 @@ const items = { development: { - ENDPOINT: process.env.REACT_APP_DEV_ENDPOINT + ENDPOINT: process.env.REACT_APP_DEV_ENDPOINT || 'http://localhost/' }, production: { ENDPOINT: 'https://gdb.01a01.com/'