mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-06 17:15:38 -08:00
Add a text option for webhooks and different repoting levels
This commit is contained in:
@@ -36,10 +36,11 @@ 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'
|
||||
# supported values: 'json' or 'html' or 'text'
|
||||
# e.g.: for discord use 'html'
|
||||
WEBHOOK_PAYLOAD = 'json'
|
||||
WEBHOOK_REQUEST_METHOD = 'GET' # POST, GET...
|
||||
EVENT_LEVEL = 5
|
||||
|
||||
# Apprise settings
|
||||
#-----------------------
|
||||
|
||||
Reference in New Issue
Block a user