Removal possibly conficts in dev env
This commit is contained in:
parent
8dd9a96d07
commit
9dea998d20
|
@ -22,7 +22,7 @@
|
||||||
work correctly both with client-side routing and a non-root public URL.
|
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`.
|
Learn how to configure a non-root public URL by running `npm run build`.
|
||||||
-->
|
-->
|
||||||
<title>React App</title>
|
<title>%REACT_APP_NAME%</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
const items = {
|
const items = {
|
||||||
development: {
|
development: {
|
||||||
ENDPOINT: process.env.REACT_APP_DEV_ENDPOINT
|
ENDPOINT: process.env.REACT_APP_DEV_ENDPOINT || 'http://localhost/'
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
ENDPOINT: 'https://gdb.01a01.com/'
|
ENDPOINT: 'https://gdb.01a01.com/'
|
||||||
|
|
Loading…
Reference in New Issue