feat: Update format for cert domains
All checks were successful
Build Docker / BuildImage (push) Successful in 1m7s

This commit is contained in:
2025-02-25 11:56:18 +11:00
parent 15caf7ce4f
commit af89fca45d

View File

@@ -97,7 +97,7 @@ def check_ssl(domain: str):
if domain.endswith(cn[1:]): if domain.endswith(cn[1:]):
domain_check = True domain_check = True
returns["cert_domains"] = cert_domains returns["cert"]["domains"] = cert_domains
expiry_date = cert_obj.not_valid_after_utc expiry_date = cert_obj.not_valid_after_utc
# Check if expiry date is past # Check if expiry date is past