mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-16 03:41:29 +00:00
certificate: Make certificate location dynamic.
* certificate: Make certificate location dynamic. * Update certificate location for old servers.
This commit is contained in:
@@ -63,7 +63,7 @@ class CertificateUtil {
|
||||
}
|
||||
|
||||
setCertificate(server: string, fileName: string): void {
|
||||
const filePath = `${certificatesDir}/${fileName}`;
|
||||
const filePath = `${fileName}`;
|
||||
this.db.push(`/${server}`, filePath, true);
|
||||
this.reloadDB();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user