Skip to content

Commit

Permalink
fix: 修复腾讯云上传报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
三少 committed Dec 23, 2022
1 parent d0b0510 commit 640ffe3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/rapper/src/rapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ export interface IRapper {
}

// type: 'normal',
// apiUrl: 'https://rap-api.xiaodiankeji.net/repository/get?id=23&token=K8qm31HyAoGopAu7kE3TIVWTMX0EOENf',
// apiUrl: 'http://rap2.taobao.org/repository/get?id=23&token=K8qm31HyAoGopAu7kE3TIVWTMX0EOENf',
// /** rap 前端地址,默认是 http://rap2.taobao.org */
// rapUrl: 'https://rap.xiaodiankeji.net',
// rapUrl: 'http://rap2.taobao.org',
// /** 输出文件的目录,默认是 ./src/rapper */
// rapperPath: './test/src/models/rapper',
// rapper({});
Expand Down
2 changes: 1 addition & 1 deletion packages/upload-tencent/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @antmjs/upload-tencent

npm install @antmjs/upload-tencent -g --registry=https://npm.xiaodiankeji.net
npm install @antmjs/upload-tencent -g

### 配置

Expand Down
2 changes: 1 addition & 1 deletion packages/upload-tencent/src/cos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import COS from 'cos-nodejs-sdk-v5'
import * as inquirer from 'inquirer'
import * as util from './util'
// eslint-disable-next-line @typescript-eslint/no-var-requires
const configPath = require(npath.resolve(process.cwd(), './antm.config.js'))
const configPath = npath.resolve(process.cwd(), './antm.config.js')

const bucketConfig = {
CDN: '',
Expand Down

0 comments on commit 640ffe3

Please sign in to comment.