config.js 880 B

123456789101112131415161718192021222324
  1. const { func } = require("prop-types");
  2. // const host='http://173.18.12.192:6060';//后端接口访问地址
  3. const host='http://192.168.65.95:6060'; //沙雅后端接口访问地址
  4. // const host='http://'+window.location.hostname+':5050';//后端接口访问地址
  5. const imageUrlPrefix = 'http://192.168.65.96:82';
  6. function geturl(){
  7. return {
  8. gourl:'http://'+window.location.hostname+':5654/cdss.html',
  9. imgurl:'http://'+window.location.hostname+':82'
  10. }
  11. }
  12. let urlSelect = geturl()
  13. module.exports={
  14. host,
  15. prefix:'', //带权限验证的api
  16. pushPage:'http://192.168.65.96:5488/icssIndex.html', //右侧推送页面的地址
  17. imageUrlPrefix:urlSelect.imgurl,
  18. pushPage2:urlSelect.gourl, //右侧推送页面的地址
  19. // pushPage2:'http://localhost:8080/cdss.html', //右侧推送页面的地址
  20. };