diff --git a/src/config.js b/src/config.js index de8b202..62a7fa6 100644 --- a/src/config.js +++ b/src/config.js @@ -7,7 +7,7 @@ // debug: // export const API_HOST = 'http://202.103.68.144:8889/v2'; -// export const WS_URL = 'ws://202.103.68.144:8889'; +export const WS_URL = 'ws://202.103.68.144:8888'; // export const EMAIL_HOST = 'http://202.103.68.231:888/service-mail'; // export const WAI_HOST = 'http://47.83.248.120/api/v1'; // 香港服务器 export const WAI_HOST = 'http://47.254.53.81/api/v1'; // 美国服务器 @@ -19,7 +19,7 @@ export const EMAIL_ATTA_HOST = 'https://p9axztuwd7x8a7.mycht.cn/attachment'; // // export const WAI_HOST = 'https://wai-server-qq4qmtq7wc9he4.mycht.cn/api/v1'; export const EMAIL_HOST = 'https://p9axztuwd7x8a7.mycht.cn/mail-server/service-mail'; export const API_HOST = 'https://p9axztuwd7x8a7.mycht.cn/whatsapp_server/v2'; -export const WS_URL = 'wss://p9axztuwd7x8a7.mycht.cn/whatsapp_server'; // prod: +// export const WS_URL = 'wss://p9axztuwd7x8a7.mycht.cn/whatsapp_server'; // prod: export const VONAGE_URL = 'https://p9axztuwd7x8a7.mycht.cn/vonage-server'; // 语音和视频接口: export const HT3 = process.env.NODE_ENV === 'production' ? 'https://p9axztuwd7x8a7.mycht.cn/ht3' : 'http://127.0.0.1:8000';