Discord compatible webhooks + bugfix of redirect after logon

This commit is contained in:
jokob.sk
2022-08-17 13:39:06 +10:00
parent 929ea98fce
commit ced6190b55
4 changed files with 27 additions and 14 deletions

View File

@@ -35,6 +35,10 @@ REPORT_DASHBOARD_URL = 'http://pi.alert/'
# ----------------------
REPORT_WEBHOOK = False
WEBHOOK_URL = 'http://n8n.local:5555/webhook-test/aaaaaaaa-aaaa-aaaa-aaaaa-aaaaaaaaaaaa'
# webhook payload data format for the "body > attachements > text" attribute in https://github.com/jokob-sk/Pi.Alert/blob/main/docs/webhook_json_sample.json
# supported values: 'json' or 'html'
# e.g.: for discord use 'html'
WEBHOOK_PAYLOAD = 'json'
# Apprise settings
#-----------------------