Default value if nothing passed

This commit is contained in:
counterweight 2025-10-18 18:14:35 +02:00
parent b4a769c557
commit 7f7a2c170e
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -11,7 +11,7 @@ const NTFY_URL = process.env.NTFY_URL;
const NTFY_USER = process.env.NTFY_USER;
const NTFY_PASSWORD = process.env.NTFY_PASSWORD;
const NTFY_TOPIC = process.env.NTFY_TOPIC;
const UI_MESSAGE = process.env.UI_MESSAGE;
const UI_MESSAGE = process.env.UI_MESSAGE || 'Emergency Message';
// Middleware
app.use(express.json());