We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3393c3e commit c0ebf1eCopy full SHA for c0ebf1e
util/imageBeds/cos.js
@@ -38,7 +38,7 @@ class CosClient {
38
Region: this.config.region, // 存储桶所在地域,必须字段
39
Key: `${this.config.prefixKey}/${fileName}`, // 文件名 必须
40
});
41
- return `https://${this.config.bucket}.cos.${this.config.region}.myqcloud.com/c`;
+ return `https://${this.config.bucket}.cos.${this.config.region}.myqcloud.com/${this.config.prefixKey}/${fileName}`;
42
} catch (e) {
43
out.warn(`检查图片信息时出错: ${transformRes(e)}`);
44
return '';
0 commit comments