Skip to content

Commit f90ed66

Browse files
committed
fix: Specify webhook title and tags for ntfy
1 parent 5c75ddd commit f90ed66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/server/routes/domain-updater/lib/sendWebhookNotification.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export async function sendWebhookNotification(
1919
method: 'POST',
2020
headers: {
2121
'Content-Type': 'text/plain',
22+
'X-Title': title,
23+
'X-Tags': tags?.join(',') ?? '',
2224
...(token ? { Authorization: `Bearer ${token}` } : {})
2325
},
2426
body: message

0 commit comments

Comments
 (0)