张保健 4 gadus atpakaļ
vecāks
revīzija
f4478c6fbf
2 mainītis faili ar 18 papildinājumiem un 2 dzēšanām
  1. 16 0
      config/dev.env.js
  2. 2 2
      config/index.js

+ 16 - 0
config/dev.env.js Parādīt failu

@@ -0,0 +1,16 @@
1
+// module.exports = {
2
+//   NODE_ENV: '"development"',
3
+//   ENV_CONFIG: '"dev"',
4
+//   BASE_API: '"https://api-dev"'
5
+// }
6
+module.exports = {
7
+  NODE_ENV: '"development"',
8
+  ENV_CONFIG: '"dev"',
9
+  // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
+  BASE_API: '"http://api.xt.test.sgjyun.com"',
11
+  SSO_HOST: '"http://testsso.sgjyun.com"',
12
+  SRCM_HOST: '"http://test1.sgjyun.com"',
13
+  XT_HOST: '"http://xt.test.sgjyun.com"',
14
+  MIRCO_MALL_HOST: '"http://mall.test.sgjyun.com"',
15
+  CDM_HOST: '"http://cdm.test.sgjyun.com"'
16
+}

+ 2 - 2
config/index.js Parādīt failu

@@ -19,8 +19,8 @@ module.exports = {
19 19
 
20 20
     //  host: 'xt.test.sgjyun.com',
21 21
     //  host: 'xt.kuyicloud.com',
22
-    host: 'xt.test.sgjyun.com',
23
-    // host: 'localhost',
22
+    // host: 'xt.test.sgjyun.com',
23
+    host: 'localhost',
24 24
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
25 25
     autoOpenBrowser: true,
26 26
     errorOverlay: true,