Commit b4e10856093d69df1c81fea7e66c61ef862545b3
1 parent
59f470d8
1.补充提交
Showing
1 changed file
with
2 additions
and
2 deletions
src/utils/config.js
| @@ -8,8 +8,8 @@ const API = process.env.API; | @@ -8,8 +8,8 @@ const API = process.env.API; | ||
| 8 | 8 | ||
| 9 | const bHttps = false; | 9 | const bHttps = false; |
| 10 | export const webSite = { | 10 | export const webSite = { |
| 11 | - faceAddress: isDev ? '//192.168.2.19:8080/xlyFace' : '//' + location.host + '/xlyFace', | ||
| 12 | - ipAddress: isDev ? '//192.168.2.19:8080/xlyEntry/' : '//' + location.host + '/xlyEntry/', | 11 | + faceAddress: isDev ? '//8.130.144.93:8088/xlyFace' : '//' + location.host + '/xlyFace', |
| 12 | + ipAddress: localStorage.ipAddress ? localStorage.ipAddress : isDev ? '//8.130.144.93:8088/xlyEntry/' : '//' + location.host + '/xlyEntry/', | ||
| 13 | interfaceAddress: localStorage.apiAddress ? localStorage.apiAddress : isDev ? '//8.130.144.93:8088/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址 | 13 | interfaceAddress: localStorage.apiAddress ? localStorage.apiAddress : isDev ? '//8.130.144.93:8088/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址 |
| 14 | fileAddress: isDev ? '//8.130.144.93:8088/xlyReport/' : '//' + location.host + '/xlyReport/', // 接口地址 | 14 | fileAddress: isDev ? '//8.130.144.93:8088/xlyReport/' : '//' + location.host + '/xlyReport/', // 接口地址 |
| 15 | fileAddressEbc: isDev ? '//8.130.144.93:8088/xlyReport/' : '//' + location.host + '/xlyReport/', | 15 | fileAddressEbc: isDev ? '//8.130.144.93:8088/xlyReport/' : '//' + location.host + '/xlyReport/', |