fix: Last commit
This commit is contained in:
parent
1bd2ccbc16
commit
84b4cc5d54
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user