*Several bug fixes with saving and loading

This commit is contained in:
Derrick Hammer 2022-09-21 10:11:28 -04:00
parent 4b6e1d32f5
commit fa8668b8c8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 3 deletions

View File

@ -57,7 +57,6 @@ export async function saveSSl(): Promise<void> {
let oldCert = await getSslCert();
let cert: any = getSsl()?.cert;
cert = cert?.fileData;
if (oldCert) {
await overwriteIndependentFileSmall(
oldCert as IndependentFileSmall,
@ -68,8 +67,7 @@ export async function saveSSl(): Promise<void> {
}
let oldKey = await getSslKey();
let key: any = getSsl()?.cert;
key = key?.fileData;
let key: any = getSsl()?.key;
if (oldKey) {
await overwriteIndependentFileSmall(