mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-27 11:12:55 +00:00
Update the database if the wildcard changes
This commit is contained in:
@@ -405,7 +405,8 @@ async function syncAcmeCerts(acmeJsonPath: string): Promise<void> {
|
|||||||
existing[0].certFile,
|
existing[0].certFile,
|
||||||
config.getRawConfig().server.secret!
|
config.getRawConfig().server.secret!
|
||||||
);
|
);
|
||||||
if (storedCertPem === certPem) {
|
const wildcardUnchanged = existing[0].wildcard === wildcard;
|
||||||
|
if (storedCertPem === certPem && wildcardUnchanged) {
|
||||||
// logger.debug(
|
// logger.debug(
|
||||||
// `acmeCertSync: cert for ${domain} is unchanged, skipping`
|
// `acmeCertSync: cert for ${domain} is unchanged, skipping`
|
||||||
// );
|
// );
|
||||||
|
|||||||
Reference in New Issue
Block a user