chores: updates

This commit is contained in:
Tristan Yang
2023-07-27 19:15:20 +08:00
parent 32b4793aed
commit 44e4ff3ec5
16 changed files with 9 additions and 27 deletions
-2
View File
@@ -13,11 +13,9 @@ let prices: Price[] = [
];
const official_dev = `https://dev.voce.chat`;
const local_dev = `https://dev.voce.chat`;
// const local_dev = `https://vocechat.yangerxiao.com`;
// const local_dev = `http://localhost:3000`;
const dev_origin = process.env.REACT_APP_OFFICIAL_DEMO ? official_dev : local_dev;
// const local_dev = `http://07333.qicp.vip:3030`;
// const local_dev = `https://im.ttt.td`;
export const BASE_ORIGIN = process.env.REACT_APP_RELEASE ? `${location.origin}` : dev_origin;
export const IS_OFFICIAL_DEMO = BASE_ORIGIN === official_dev;