config.js 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. const ROOTPATH = "https://zp.xianmaxiong.com/sqx_fast";
  2. const ROOTPATH1 = "https://zp.xianmaxiong.com/sqx_fast";
  3. // const ROOTPATH = "https://yizhizan.edccc.cn/sqx_fast";
  4. // const ROOTPATH1 = "https://yizhizan.edccc.cn/sqx_fast";
  5. const ROOTPATH2 = "wss://zp.xianmaxiong.com/wss/websocket/"; //联系客服
  6. const ROOTPATH3 = "wss://zp.xianmaxiong.com/wss/chatSocket/"; //聊天
  7. const ROOTPATH4 = "https://zp.xianmaxiong.com";
  8. // const ROOTPATH = "https://wap.aidezp.com/sqx_fast";
  9. // const ROOTPATH1 = "https://wap.aidezp.com/sqx_fast";
  10. // const ROOTPATH2 = "wss://wap.aidezp.com/wss/websocket/"; //联系客服
  11. // const ROOTPATH3 = "wss://wap.aidezp.com/wss/chatSocket/"; //聊天
  12. // const ROOTPATH = location.origin + "/sqx_fast";
  13. // const ROOTPATH1 = location.origin + "/sqx_fast";
  14. // const ROOTPATH2 = "wss://" + location.hostname + "/wss/websocket/"; //联系客服
  15. // const ROOTPATH3 = "wss://" + location.hostname + "/wss/chatSocket/"; //聊天
  16. // const ROOTPATH = "http://192.168.0.254:7155/sqx_fast";
  17. // const ROOTPATH1 = "http://192.168.0.254:7155/sqx_fast";
  18. // const ROOTPATH2 = "ws://192.168.0.254:7155/sqx_fast/websocket/"; //联系客服
  19. // const ROOTPATH3 = "ws://192.168.0.254:7155/sqx_fast/chatSocket/"; //聊天
  20. // const ROOTPATH4 = "https://zp.xianmaxiong.com";
  21. module.exports = {
  22. APIHOST: ROOTPATH,
  23. APIHOST1: ROOTPATH1,
  24. WSHOST: ROOTPATH2,
  25. WSHOST1: ROOTPATH3,
  26. WSHOST4: ROOTPATH4
  27. };