oss接通了80端口,还没有接通https,先用
This commit is contained in:
@@ -97,6 +97,9 @@ export class OssAliyunProvider implements IOssProvider {
|
||||
const ossKey = buildOssObjectKey(this.uploadPrefix, input.bizType, input.fileName);
|
||||
await client.put(ossKey, input.buffer, {
|
||||
mime: input.mimeType || 'application/octet-stream',
|
||||
headers: {
|
||||
'Content-Disposition': 'inline',
|
||||
},
|
||||
});
|
||||
return {
|
||||
bucket: this.bucket,
|
||||
|
||||
Reference in New Issue
Block a user