You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +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:
@@ -369,6 +369,7 @@ class WebDavApi {
|
||||
fetchOptions.method = method;
|
||||
if (options.path) fetchOptions.path = options.path;
|
||||
if (body) fetchOptions.body = body;
|
||||
fetchOptions.ignoreTlsErrors = this.options_.ignoreTlsErrors();
|
||||
const url = `${this.baseUrl()}/${path}`;
|
||||
|
||||
if (shim.httpAgent(url)) fetchOptions.agent = shim.httpAgent(url);
|
||||
|
||||
Reference in New Issue
Block a user