fix: Last commit
This commit is contained in:
parent
1bd2ccbc16
commit
84b4cc5d54
@ -202,17 +202,17 @@ export async function generateSSLCerts() {
|
|||||||
if (!dev) {
|
if (!dev) {
|
||||||
if (certificates.includes(ssl.domain)) {
|
if (certificates.includes(ssl.domain)) {
|
||||||
console.log(`Certificate for ${ssl.domain} already exists`);
|
console.log(`Certificate for ${ssl.domain} already exists`);
|
||||||
return;
|
} else {
|
||||||
}
|
|
||||||
console.log('Generating SSL for', ssl.domain);
|
console.log('Generating SSL for', ssl.domain);
|
||||||
await letsEncrypt(ssl.domain, ssl.id, ssl.isCoolify);
|
await letsEncrypt(ssl.domain, ssl.id, ssl.isCoolify);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (certificates.includes(ssl.domain)) {
|
if (certificates.includes(ssl.domain)) {
|
||||||
console.log(`Certificate for ${ssl.domain} already exists`);
|
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