Merge branch 'fix-ssl-bug' into 'main'

🐛 — Fix SSL check cert

See merge request framasoft/framaspace/argos!3
This commit is contained in:
Alexis Metaireau 2023-10-25 12:56:32 +00:00
commit 429351054d

View file

@ -46,7 +46,7 @@ class SSLCertificateExpiration(BaseCheck):
async def run(self):
"""Returns the number of days in which the certificate will expire."""
response = await self.http_client.head(self.task.url)
response = await self.http_client.get(self.task.url)
if response.is_error:
raise