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 (
|
||||
certificates.includes(ssl.domain) ||
|
||||
certificates.includes(ssl.domain.replace('www', ''))
|
||||
certificates.includes(ssl.domain.replace('www.', ''))
|
||||
) {
|
||||
console.log(`Certificate for ${ssl.domain} already exists`);
|
||||
} else {
|
||||
@ -212,7 +212,7 @@ export async function generateSSLCerts() {
|
||||
} else {
|
||||
if (
|
||||
certificates.includes(ssl.domain) ||
|
||||
certificates.includes(ssl.domain.replace('www', ''))
|
||||
certificates.includes(ssl.domain.replace('www.', ''))
|
||||
) {
|
||||
console.log(`Certificate for ${ssl.domain} already exists`);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user