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