Merge pull request #126 from chenxingyuoo/hotfix/qiniu-upload08-02

fix: 修复 七牛上传 uploadWithKey 回调报错
This commit is contained in:
COOL 2023-08-11 18:44:44 +08:00 committed by GitHub
commit 9c4dfdccec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/file",
"version": "6.0.2",
"version": "6.0.3",
"description": "",
"main": "dist/index.js",
"typings": "index.d.ts",

View File

@ -236,7 +236,7 @@ export class CoolFile {
throw respErr;
}
if (respInfo.statusCode == 200) {
resolve(qiniu.publicDomain + '/' + name);
resolve(qiniu.publicDomain + '/' + key);
}
}
);