Some Cleanup and minor Changes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user