fix: Last commit

This commit is contained in:
Andras Bacsai 2022-04-07 21:18:36 +02:00
parent 1bd2ccbc16
commit 84b4cc5d54

View File

@ -202,16 +202,16 @@ export async function generateSSLCerts() {
if (!dev) {
if (certificates.includes(ssl.domain)) {
console.log(`Certificate for ${ssl.domain} already exists`);
return;
} else {
console.log('Generating SSL for', ssl.domain);
await letsEncrypt(ssl.domain, ssl.id, ssl.isCoolify);
}
console.log('Generating SSL for', ssl.domain);
await letsEncrypt(ssl.domain, ssl.id, ssl.isCoolify);
} else {
if (certificates.includes(ssl.domain)) {
console.log(`Certificate for ${ssl.domain} already exists`);
return;
} else {
console.log('Generating SSL for', ssl.domain);
}
console.log('Generating SSL for', ssl.domain);
}
}
}