You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
All: Enable ignoreTlsErrors and custom certificates for S3 sync (#8980)
This commit is contained in:
@@ -56,6 +56,7 @@ class SyncTargetAmazonS3 extends BaseSyncTarget {
|
||||
UseArnRegion: true, // override the request region with the region inferred from requested resource's ARN.
|
||||
forcePathStyle: Setting.value('sync.8.forcePathStyle'), // Older implementations may not support more modern access, so we expose this to allow people the option to toggle.
|
||||
endpoint: Setting.value('sync.8.url'),
|
||||
ignoreTlsErrors: Setting.value('net.ignoreTlsErrors'),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -87,6 +88,7 @@ class SyncTargetAmazonS3 extends BaseSyncTarget {
|
||||
UseArnRegion: true, // override the request region with the region inferred from requested resource's ARN.
|
||||
forcePathStyle: options.forcePathStyle(),
|
||||
endpoint: options.url(),
|
||||
ignoreTlsErrors: options.ignoreTlsErrors(),
|
||||
};
|
||||
|
||||
const api = new S3Client(apiOptions);
|
||||
|
||||
Reference in New Issue
Block a user