mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
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:
parent
43c4f44f1f
commit
30e96de2d9
@ -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();
|
||||
},
|
||||
);
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user