diff --git a/README.md b/README.md index 2f41222..dbc0ecf 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ npm start - `NTFY_PASSWORD`: Password for ntfy authentication (required) - `NTFY_TOPIC`: ntfy topic/channel to send messages to (optional, defaults to "emergencia") - `PORT`: Port to run the application on (optional, defaults to 3000) +- `UI_MESSAGE`: Custom message to display in the UI (optional, defaults to "Emergency Message") ### Docker Registry Variables (Optional, needed to push to private registry) @@ -56,6 +57,7 @@ NTFY_URL=https://your-ntfy-server.com NTFY_USER=your-username NTFY_PASSWORD=your-password NTFY_TOPIC=emergencia +UI_MESSAGE=Send an emergency message ``` 2. Run with Docker: @@ -79,6 +81,7 @@ NTFY_URL=https://your-ntfy-server.com NTFY_USER=your-username NTFY_PASSWORD=your-password NTFY_TOPIC=emergencia +UI_MESSAGE=Send an emergency message ``` 4. Install dependencies: ```bash diff --git a/env.example b/env.example index d01685f..c0124cd 100644 --- a/env.example +++ b/env.example @@ -4,6 +4,7 @@ NTFY_USER=your-username NTFY_PASSWORD=your-password NTFY_TOPIC=emergencia PORT=3000 +UI_MESSAGE=Send an emergency message # Optional variables for Docker registry # DOCKER_REGISTRY=your-registry.com diff --git a/public/index.html b/public/index.html index 96dec29..5b6f26b 100644 --- a/public/index.html +++ b/public/index.html @@ -27,6 +27,23 @@