Browse Source

修改测试环境域名

戴艳蓉 3 years ago
parent
commit
c4afe0f3bc
4 changed files with 6 additions and 2 deletions
  1. 2 0
      .env.development
  2. 2 0
      .env.production
  3. 1 1
      .env.staging
  4. 1 1
      src/config/env.staging.js

+ 2 - 0
.env.development

@@ -1,3 +1,5 @@
+NODE_ENV = development
+
 # just a flag
 ENV = 'development'
 

+ 2 - 0
.env.production

@@ -1,3 +1,5 @@
+NODE_ENV = production
+
 # just a flag
 ENV = 'production'
 

+ 1 - 1
.env.staging

@@ -1,4 +1,4 @@
-NODE_ENV = production
+NODE_ENV = staging
 
 # just a flag
 ENV = 'staging'

+ 1 - 1
src/config/env.staging.js

@@ -3,7 +3,7 @@ module.exports = {
   title: '五常稻田',
   baseUrl: 'http://mobile.recruit.sit.zretchome.com',
   api: {
-    baseApi: 'http://inv.sitw.wanyuhengtong.com/',
+    baseApi: 'http://fc.test241.wanyuhengtong.com/',
   },
   fileURL: `https://api2.edusit.zretchome.com`,
   appId: 'wx5ac3a2c2d72b6f26',