export const FACEID_LINENESS_URL =
  "https://api.megvii.com/faceid/liveness/v2/do?token=";
export const TK_SERVER_HTML_URL = process.env.VUE_APP_TK_SERVER_HTML_URL;
export const TK_SERVER_API_URL = process.env.VUE_APP_TK_SERVER_API_URL;
export const VUE_APP_WK_SERVER_SOCKET = process.env.VUE_APP_WK_SERVER_SOCKET;
export const VUE_APP_WK_SERVER_SOCKET_FOR_AUDIO =
  process.env.VUE_APP_WK_SERVER_SOCKET_FOR_AUDIO;
export const FACE_API_MODEL_PATH = "/models/20190620/";
export const EPCC_DOMAIN = "iepcc-ps.ecs.qmth.com.cn";
const EAXM_DOMAIN = "exam.qmth.com.cn";
export const DOMAINS_CAN_UPLOAD_PHOTOS = [EPCC_DOMAIN, EAXM_DOMAIN];

if (process.env.VUE_APP_CAN_UPLOAD_PHOTOS_FOR_TEST === "true") {
  DOMAINS_CAN_UPLOAD_PHOTOS.push(
    ...["ecs-dev.qmth.com.cn", "test.qmth.com.cn", "test.ecs-dev.qmth.com.cn"]
  );
}
