fix: fix for the fix that fixes the fix
This commit is contained in:
parent
6462982d12
commit
f779b3bb54
@ -202,7 +202,7 @@ export async function generateSSLCerts() {
|
|||||||
if (!dev) {
|
if (!dev) {
|
||||||
if (
|
if (
|
||||||
certificates.includes(ssl.domain) ||
|
certificates.includes(ssl.domain) ||
|
||||||
certificates.includes(ssl.domain.replace('www', ''))
|
certificates.includes(ssl.domain.replace('www.', ''))
|
||||||
) {
|
) {
|
||||||
console.log(`Certificate for ${ssl.domain} already exists`);
|
console.log(`Certificate for ${ssl.domain} already exists`);
|
||||||
} else {
|
} else {
|
||||||
@ -212,7 +212,7 @@ export async function generateSSLCerts() {
|
|||||||
} else {
|
} else {
|
||||||
if (
|
if (
|
||||||
certificates.includes(ssl.domain) ||
|
certificates.includes(ssl.domain) ||
|
||||||
certificates.includes(ssl.domain.replace('www', ''))
|
certificates.includes(ssl.domain.replace('www.', ''))
|
||||||
) {
|
) {
|
||||||
console.log(`Certificate for ${ssl.domain} already exists`);
|
console.log(`Certificate for ${ssl.domain} already exists`);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user