mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-10 18:15:32 +00:00
18 lines
684 B
Python
18 lines
684 B
Python
from changedetectionio.model import default_notification_format_for_watch
|
|
|
|
default_notification_format = 'HTML Color'
|
|
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': 'text',
|
|
'Markdown': 'markdown',
|
|
'HTML': 'html',
|
|
'HTML Color': 'htmlcolor',
|
|
# Used only for editing a watch (not for global)
|
|
default_notification_format_for_watch: default_notification_format_for_watch
|
|
}
|
|
|