Browse Source

domain_in_url: fix apps confliction

Michael Wang 4 years ago
parent
commit
e6479f969c
1 changed files with 1 additions and 1 deletions
  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";