whistle.hedctestapi 1.1.3 → 1.1.9

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.
@@ -6,7 +6,8 @@ const appSettingsDev = {
6
6
  get_apps_api: 'https://data.happyelements.cn/api/v1/app/all',
7
7
  };
8
8
  const appSettingsProd = {
9
- mongodb_url: 'mongodb://admin:123456@10.130.147.133:27017,10.130.147.133:27018,10.130.147.133:27019/nohost?replicaSet=2104011535&authSource=admin',
9
+ // mongodb_url: 'mongodb://admin:123456@10.130.147.133:27017,10.130.147.133:27018,10.130.147.133:27019/nohost?replicaSet=2104011535&authSource=admin',
10
+ mongodb_url: 'mongodb://admin:123456@10.130.80.21:27017/nohost',
10
11
  get_apps_api: 'https://data.happyelements.cn/api/v1/app/all',
11
12
  };
12
13
  const envConfig = {
@@ -14,7 +15,7 @@ const envConfig = {
14
15
  development: appSettingsDev,
15
16
  localdev: appSettingsDev
16
17
  };
17
- const env = envConfig[process.env.NODE_ENV] ? envConfig[process.env.NODE_ENV] : appSettingsDev;
18
+ const env = envConfig[process.env.NODE_ENV] ? envConfig[process.env.NODE_ENV] : appSettingsProd;
18
19
 
19
20
 
20
- module.exports = env;
21
+ module.exports = env;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whistle.hedctestapi",
3
- "version": "1.1.3",
3
+ "version": "1.1.9",
4
4
  "description": "he埋点测试插件api",
5
5
  "dependencies": {
6
6
  "@nohost/connect": "^1.2.1",