@alicloud/console-base-conf-parse-env 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,7 +31,8 @@ function parseEnv() {
|
|
|
31
31
|
var DOMAIN_IS_4SERVICE = /4service/.test(hostname);
|
|
32
32
|
var DOMAIN_IS_TEST = /\.test$/.test(hostname);
|
|
33
33
|
var FECS_FOR_4SERVICE = 'fecs4service';
|
|
34
|
-
|
|
34
|
+
// 本地|预发走 pre-fecs,日常|线上走 fecs
|
|
35
|
+
var FECS_FOR_CONSOLE = ENV_IS_DEV || ENV_IS_PRE ? 'pre-fecs' : 'fecs';
|
|
35
36
|
/**
|
|
36
37
|
* 是否「标准」控制台
|
|
37
38
|
*
|
|
@@ -25,7 +25,8 @@ export default function parseEnv() {
|
|
|
25
25
|
var DOMAIN_IS_4SERVICE = /4service/.test(hostname);
|
|
26
26
|
var DOMAIN_IS_TEST = /\.test$/.test(hostname);
|
|
27
27
|
var FECS_FOR_4SERVICE = 'fecs4service';
|
|
28
|
-
|
|
28
|
+
// 本地|预发走 pre-fecs,日常|线上走 fecs
|
|
29
|
+
var FECS_FOR_CONSOLE = ENV_IS_DEV || ENV_IS_PRE ? 'pre-fecs' : 'fecs';
|
|
29
30
|
/**
|
|
30
31
|
* 是否「标准」控制台
|
|
31
32
|
*
|