Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion templates/definition/messenger/ntfy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ params:
required: true
example: ntfy.sh
default: ntfy.sh
description:
de: IP-Adresse oder Hostname (mit optionalem Pfad)
en: IP address or hostname (with optional path)
pattern:
regex: "^[^\\/\\s]+(:[0-9]{1,5})?(\\/\\S*)?$"
examples: ["ntfy.sh", "192.168.1.100", "myserver.com:8080", "myserver.com/ntfy"]
- name: topics
required: true
type: list
Expand Down Expand Up @@ -57,7 +63,7 @@ params:
For more details, see [docs.ntfy.sh](https://docs.ntfy.sh/publish#tags-emojis). One entry per line.
render: |
type: ntfy
uri: https://{{ .host }}/{{ .topics | join "," }}
uri: https://{{ .host | trimSuffix "/" }}/{{ .topics | join "," }}
priority: {{ .priority }}
tags: {{ .tags | join "," }}
authtoken: {{ .authtoken }}
Loading