Skip to content

Commit

Permalink
Allow self-signed certificates mrlt8#1354 (mrlt8#1365)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 authored Sep 30, 2024
1 parent f685312 commit bf89374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/wyzebridge/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def send_webhook(event: str, camera: str, msg: str, img: Optional[str] = None) -

logger.debug(f"[WEBHOOKS] 📲 Triggering {event.upper()} event for {camera}")
try:
resp = requests.post(url, headers=header, data=msg)
resp = requests.post(url, headers=header, data=msg, verify=False)
resp.raise_for_status()
except requests.exceptions.HTTPError as ex:
except Exception as ex:
print(f"[WEBHOOKS] {ex}")

0 comments on commit bf89374

Please sign in to comment.