Some Cleanup and minor Changes

This commit is contained in:
2025-10-24 02:48:00 +02:00
parent f648952fa9
commit b035c9475d
3 changed files with 9 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ export async function sendNotification(title: string, body: string, link?: strin
const response = await fetch("http://apprise:8000/notify", {
method: "POST",
headers: {
"Content-Type": "application/json"
"Content-Type": "application/json"
},
body: JSON.stringify({
urls: [
@@ -18,7 +18,7 @@ export async function sendNotification(title: string, body: string, link?: strin
].join(","),
title: title,
body: body,
format: "text"
format: "markdown"
})
});
const responseBody = await response.json();