perf: 增加邮件附件公网地址

2.0/email-builder
Jimmy Liow 10 months ago
parent aaa4299c57
commit a06a6213b0

@ -9,7 +9,7 @@
export const API_HOST = 'http://202.103.68.144:8889/v2';
export const WS_URL = 'ws://202.103.68.144:8889';
export const EMAIL_HOST = 'http://202.103.68.231:888/service-mail';
export const EMAIL_ATTA_HOST = 'http://202.103.68.102:8888'; // 邮件附件
export const EMAIL_ATTA_HOST = 'https://p9axztuwd7x8a7.mycht.cn/attatchment'; // 邮件附件
// prod:
// export const API_HOST = 'https://p9axztuwd7x8a7.mycht.cn/whatsapp_server';
// export const WS_URL = 'wss://p9axztuwd7x8a7.mycht.cn/whatsapp_server'; // prod:

@ -50,6 +50,7 @@ const useAuthStore = create(devtools((set, get) => ({
setLoginStatus(200)
// TODO 正式上线要切换地址
const json = await fetchJSON(
'http://202.103.68.144:889/dingtalk/dingtalkwork/WhatsAppAuth',
//`https://p9axztuwd7x8a7.mycht.cn/dingtalk/dingtalkwork/WhatsAppAuth`,

Loading…
Cancel
Save