Skip to content

Commit

Permalink
Allow self-signed certificates #1354
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Sep 16, 2024
1 parent 7a24d47 commit 58bbd9d
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 58bbd9d

Please sign in to comment.