|
@@ -6,9 +6,6 @@ if (!localStorage.getItem("deviceId")) {
|
|
|
}
|
|
|
export const DEVICE_ID = localStorage.getItem("deviceId");
|
|
|
|
|
|
-export const ORG_CODE =
|
|
|
- process.env.VUE_APP_ORG_CODE || window.location.hostname.split(".")[0];
|
|
|
-
|
|
|
export const INVIGILATOR_IMPORT_TEMPLATE_DOWNLOAD_URL =
|
|
|
"/file/考场监考老师导入.xlsx";
|
|
|
export const EXAM_STUDENT_IMPORT_TEMPLATE_DOWNLOAD_URL =
|
|
@@ -19,4 +16,4 @@ if (process.env.VUE_APP_SELF_DEFINE_DOMAIN === "true") {
|
|
|
domain = window.localStorage.getItem("domain_in_url");
|
|
|
}
|
|
|
if (!domain) domain = window.location.hostname.split(".")[0];
|
|
|
-export const DOMAIN_IN_URL = domain;
|
|
|
+export const ORG_CODE = domain;
|