refactor: project configuration

This commit is contained in:
Tristan Yang
2023-05-15 16:46:50 +08:00
parent 187ffd24d1
commit 20b907aae4
293 changed files with 991 additions and 964 deletions
+2 -2
View File
@@ -12,11 +12,11 @@ let prices: Price[] = [
}
];
const official_dev = `https://dev.voce.chat`;
// const local_dev = `http://localhost:3000`;
const local_dev = official_dev;
// const local_dev = `http://07333.qicp.vip:3030`;
// const local_dev = `https://im.ttt.td`;
// const local_dev = `http://localhost:3333`;
export const BASE_ORIGIN = process.env.REACT_APP_RELEASE
? `${location.origin}`
: local_dev;
@@ -103,7 +103,7 @@ export const firebaseConfig = {
};
export const ChatPrefixes = {
channel: "#",
user: "@"
dm: "@"
};
export const vapidKey = `BOmzyZhw-DcIGYQ77mzQUVqLlcvn0bm_76P_kc7rpwRxzXNbui-JP8iPyEQYfyoxyJeq43Ud4IiIsJSMNHNujn0`;
export const tokenHeader = "X-API-Key";