@tapd/tplugin-core 1.32.1-alpha.0 → 1.32.1-alpha.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/tapd.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapd/tplugin-core",
3
- "version": "1.32.1-alpha.0",
3
+ "version": "1.32.1-alpha.1",
4
4
  "main": "src/index.js",
5
5
  "description": "tplugin-core",
6
6
  "scripts": {
@@ -33,5 +33,5 @@
33
33
  "src",
34
34
  "!src/config.js"
35
35
  ],
36
- "gitHead": "ee7b0b077655e1b9a14f8af3533ac00286eded8e"
36
+ "gitHead": "6ed1994b001158820d741284eee93f12e6d3b1e9"
37
37
  }
package/src/tapd.js CHANGED
@@ -48,7 +48,7 @@ function configEnv(key) {
48
48
  // 从 环境变量和配置文件中夹在 配置信息
49
49
  const clientID = process.env.TAPD_CLIENT_ID || configEnv('env.client_id');
50
50
  const clientSecret = process.env.TAPD_CLIENT_SECRET || configEnv('env.client_secret');
51
- const address = process.env.TAPD_API_PATH || sysConfig.tapd.apiPath;
51
+ const address = process.env.TAPD_API_PATH ||configEnv('env.api_path')|| sysConfig.tapd.apiPath;
52
52
  const rioToken = process.env.RIO_TOKEN || '';
53
53
 
54
54