refactor: Check order status for SSL certificates

This commit adds a new cron job in the `StatusPageCerts.ts` file to check the order status of SSL certificates for domains that have already ordered them. If a certificate does not exist for a domain, the code will attempt to order the certificate again. This ensures that all domains with ordered certificates have the necessary SSL protection.
This commit is contained in:
Simon Larsen 2024-06-26 14:25:35 +01:00
parent 43c4f44f1f
commit 30e96de2d9
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -57,8 +57,7 @@ RunCron(
runOnStartup: true,
},
async () => {
// checks if the certificate exists for the domains that have ordered certificates, otherwise orders again,
// checks if the certificate exists for the domains that have ordered certificates, otherwise orders again,
await StatusPageDomainService.checkOrderStatus();
},
);
);