format
This commit is contained in:
parent
9abc584eb9
commit
e1b5b977b7
@ -16,4 +16,3 @@ Remote service in support list:
|
|||||||
|
|
||||||
- [ ] AWS S3
|
- [ ] AWS S3
|
||||||
- [ ] webdav
|
- [ ] webdav
|
||||||
|
|
||||||
|
|||||||
3
main.ts
3
main.ts
@ -152,7 +152,8 @@ export default class SaveRemotePlugin extends Plugin {
|
|||||||
Bucket: this.settings.s3BucketName,
|
Bucket: this.settings.s3BucketName,
|
||||||
Key: `${fileOrFolder.path}`,
|
Key: `${fileOrFolder.path}`,
|
||||||
Body: Buffer.from(arrContent),
|
Body: Buffer.from(arrContent),
|
||||||
ContentType: mime.contentType(`${fileOrFolder.path}`) || undefined
|
ContentType:
|
||||||
|
mime.contentType(`${fileOrFolder.path}`) || undefined,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user