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/'