1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-30 23:44:55 +02:00

All: Resolves #3691: Added support for a custom S3 URL (#3921)

This commit is contained in:
Aaron
2020-10-20 11:44:11 +01:00
committed by GitHub
parent 0f9d92dd3d
commit a93bda71fe
2 changed files with 15 additions and 0 deletions

View File

@ -274,6 +274,17 @@ class Setting extends BaseModel {
label: () => _('AWS S3 bucket'),
description: () => emptyDirWarning,
},
'sync.8.url': {
value: 'https://s3.amazonaws.com/',
type: SettingItemType.String,
section: 'sync',
show: (settings:any) => {
return settings['sync.target'] == SyncTargetRegistry.nameToId('amazon_s3');
},
public: true,
label: () => _('AWS S3 URL'),
secure: false,
},
'sync.8.username': {
value: '',
type: SettingItemType.String,