fix node not loading correct env files

This commit is contained in:
heyethereum
2024-08-03 10:29:35 +08:00
parent 28f6ab3553
commit 1fdfd94baf
30 changed files with 180 additions and 155 deletions

View File

@@ -1,7 +1,7 @@
import axios from 'axios';
import Constants from 'expo-constants';
//const { API_BASE_URL } = Constants.expoConfig.extra;
const API_BASE_URL = 'https://localhost:8443';
const { API_BASE_URL } = Constants.expoConfig.extra;
//const API_BASE_URL = 'https://localhost:8443';
const API_URL_DETECT = "/v1/qrcodetypes/detect";
const API_URL_VERIFY_URL = "/v1/qrcodetypes/verifyURL"