config.js 1.3 KB

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