NotificationLatch/config.default.js

32 lines
859 B
JavaScript
Raw Normal View History

module.exports = {
port: 3369,
publicUrl: 'https://your.domain.name/',
authToken: '<token required to push notifications>',
2021-08-18 15:50:34 +02:00
allowedIps: {
post: ['127.0.0.1'],
manage: null
},
dataFilename: './data.json',
salt: '<generate a random string of characters>',
reminders: {
enabled: true,
interval: { days: 1 },
title: 'Reminder',
2021-08-18 15:50:34 +02:00
message: 'Notifications for \'{title}\' are still disabled. Enable the notifications or disable the reminders.',
sound: 'vibrate'
},
contacts: [
{
type: 'pushover',
description: 'Pushover Example',
user: '<log in to your Pushover dashboard to find your user key>',
token: '<follow the instructions in the Pushover API documentation to create a token>',
urlTitle: 'Manage notifications',
maxAttempts: 5,
retryIntervalSeconds: 5
}
]
}