Removal possibly conficts in dev env

This commit is contained in:
john 2022-05-13 12:08:25 +07:00
parent 8dd9a96d07
commit 9dea998d20
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

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