Update the database if the wildcard changes

This commit is contained in:
Owen
2026-04-29 16:42:10 -07:00
parent dcfc7822f4
commit 81197f8a86

View File

@@ -405,7 +405,8 @@ async function syncAcmeCerts(acmeJsonPath: string): Promise<void> {
existing[0].certFile,
config.getRawConfig().server.secret!
);
if (storedCertPem === certPem) {
const wildcardUnchanged = existing[0].wildcard === wildcard;
if (storedCertPem === certPem && wildcardUnchanged) {
// logger.debug(
// `acmeCertSync: cert for ${domain} is unchanged, skipping`
// );