소스 검색

domain_in_url: fix apps confliction

Michael Wang 4 년 전
부모
커밋
e6479f969c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/constants/constants.js

+ 1 - 1
src/constants/constants.js

@@ -36,7 +36,7 @@ export const CUG_DOMAIN = "cug.ecs.qmth.com.cn";
 
 let domain;
 if (process.env.VUE_APP_SELF_DEFINE_DOMAIN === "true") {
-  domain = window.localStorage.getItem("domain_in_url");
+  domain = window.localStorage.getItem("exam_cloud_domain_in_url");
 }
 if (!domain) domain = window.location.hostname.split(".")[0];
 export const DOMAIN_IN_URL = domain + ".ecs.qmth.com.cn";