NotificationLatch/config.default.js
2021-08-18 15:50:34 +02:00

32 lines
859 B
JavaScript

module.exports = {
port: 3369,
publicUrl: 'https://your.domain.name/',
authToken: '<token required to push notifications>',
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',
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
}
]
}