chore(config): point development API at local backend
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
const MAIN_API_FN = () => {
|
const MAIN_API_FN = () => {
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// return 'http://127.0.0.1:10051'
|
return 'http://127.0.0.1:10051'
|
||||||
return 'https://yxe-api.gxwebsoft.com'
|
// return 'https://yxe-api.gxwebsoft.com'
|
||||||
} else {
|
} else {
|
||||||
return 'https://yxe-api.gxwebsoft.com'
|
return 'https://yxe-api.gxwebsoft.com'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user