You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-24 23:26:50 +02:00
Android: Fixes #4439: Add option to disable TLS validation and allow self-signed certificates for WebDAV/NextCloud (#4742)
This commit is contained in:
@ -32,6 +32,7 @@ class SyncTargetWebDAV extends BaseSyncTarget {
|
||||
baseUrl: () => options.path(),
|
||||
username: () => options.username(),
|
||||
password: () => options.password(),
|
||||
ignoreTlsErrors: () => options.ignoreTlsErrors(),
|
||||
};
|
||||
|
||||
const api = new WebDavApi(apiOptions);
|
||||
@ -67,6 +68,7 @@ class SyncTargetWebDAV extends BaseSyncTarget {
|
||||
path: () => Setting.value('sync.6.path'),
|
||||
username: () => Setting.value('sync.6.username'),
|
||||
password: () => Setting.value('sync.6.password'),
|
||||
ignoreTlsErrors: () => Setting.value('net.ignoreTlsErrors'),
|
||||
});
|
||||
|
||||
fileApi.setLogger(this.logger());
|
||||
|
Reference in New Issue
Block a user