mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-11-02 07:37:25 +00:00
17 lines
729 B
Python
17 lines
729 B
Python
from changedetectionio.model import USE_SYSTEM_DEFAULT_NOTIFICATION_FORMAT_FOR_WATCH
|
|
|
|
default_notification_format = 'htmlcolor'
|
|
default_notification_body = '{{watch_url}} had a change.\n---\n{{diff}}\n---\n'
|
|
default_notification_title = 'ChangeDetection.io Notification - {{watch_url}}'
|
|
|
|
# The values (markdown etc) are from apprise NotifyFormat,
|
|
# But to avoid importing the whole heavy module just use the same strings here.
|
|
valid_notification_formats = {
|
|
'text': 'Plain Text',
|
|
'html': 'HTML',
|
|
'htmlcolor': 'HTML Color',
|
|
'markdown': 'Markdown to HTML',
|
|
# Used only for editing a watch (not for global)
|
|
USE_SYSTEM_DEFAULT_NOTIFICATION_FORMAT_FOR_WATCH: USE_SYSTEM_DEFAULT_NOTIFICATION_FORMAT_FOR_WATCH
|
|
}
|