mpp-server-dev2/config/notifications.yml

18 lines
672 B
YAML
Raw Normal View History

# Notification config file
2024-07-23 11:54:36 +02:00
# Whether to allow HTML in notifications.
# This is a security risk, so only enable this if you trust your admins.
2024-07-12 23:29:24 +02:00
allowXSS: true
2024-07-23 11:54:36 +02:00
# The maximum duration of a notification in milliseconds.
2024-07-12 23:29:24 +02:00
maxDuration: 60000
2024-07-23 11:54:36 +02:00
# The default duration of a notification in milliseconds, if not specified.
2024-07-12 23:29:24 +02:00
defaultDuration: 7000
2024-07-23 11:54:36 +02:00
2024-09-02 22:19:44 +02:00
# The target ID to use to send notifications to every socket on the server.
2024-07-23 11:54:36 +02:00
# This is not used for the "target" parameter, instead this is for "targetChannel"/"targetUser".
2024-09-02 22:19:44 +02:00
# This will allow notifications to be sent to every socket on the server.
# This is configurable because it's potentially dangerous to allow every
2024-07-12 23:29:24 +02:00
allTarget: all