1
0
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:
Jens Böttge
2023-10-05 11:56:25 +02:00
committed by GitHub
parent 992807eb8f
commit e70f31baea
2 changed files with 4 additions and 0 deletions

View File

@@ -1498,6 +1498,7 @@ class Setting extends BaseModel {
advanced: true,
show: (settings: any) => {
return [
SyncTargetRegistry.nameToId('amazon_s3'),
SyncTargetRegistry.nameToId('nextcloud'),
SyncTargetRegistry.nameToId('webdav'),
SyncTargetRegistry.nameToId('joplinServer'),
@@ -1517,6 +1518,7 @@ class Setting extends BaseModel {
show: (settings: any) => {
return (shim.isNode() || shim.mobilePlatform() === 'android') &&
[
SyncTargetRegistry.nameToId('amazon_s3'),
SyncTargetRegistry.nameToId('nextcloud'),
SyncTargetRegistry.nameToId('webdav'),
SyncTargetRegistry.nameToId('joplinServer'),