diff --git a/src/utils/config.js b/src/utils/config.js index 1dad3e6..2b64629 100644 --- a/src/utils/config.js +++ b/src/utils/config.js @@ -8,8 +8,8 @@ const API = process.env.API; const bHttps = false; export const webSite = { - faceAddress: isDev ? '//192.168.2.19:8080/xlyFace' : '//' + location.host + '/xlyFace', - ipAddress: isDev ? '//192.168.2.19:8080/xlyEntry/' : '//' + location.host + '/xlyEntry/', + faceAddress: isDev ? '//8.130.144.93:8088/xlyFace' : '//' + location.host + '/xlyFace', + ipAddress: localStorage.ipAddress ? localStorage.ipAddress : isDev ? '//8.130.144.93:8088/xlyEntry/' : '//' + location.host + '/xlyEntry/', interfaceAddress: localStorage.apiAddress ? localStorage.apiAddress : isDev ? '//8.130.144.93:8088/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址 fileAddress: isDev ? '//8.130.144.93:8088/xlyReport/' : '//' + location.host + '/xlyReport/', // 接口地址 fileAddressEbc: isDev ? '//8.130.144.93:8088/xlyReport/' : '//' + location.host + '/xlyReport/',