fix: drop ntfy title header to keep umlauts intact
This commit is contained in:
@@ -32,7 +32,6 @@ async function sendNtfyNotification(adminNtfy, userNtfy, payload) {
|
|||||||
const topic = `${sanitizedPrefix}${separator}${sanitizedTopic}` || sanitizedPrefix || sanitizedTopic;
|
const topic = `${sanitizedPrefix}${separator}${sanitizedTopic}` || sanitizedPrefix || sanitizedTopic;
|
||||||
const url = `${server}/${topic}`;
|
const url = `${server}/${topic}`;
|
||||||
const headers = {
|
const headers = {
|
||||||
Title: payload.title,
|
|
||||||
Priority: payload.priority || 'default',
|
Priority: payload.priority || 'default',
|
||||||
'Content-Type': 'text/plain; charset=utf-8'
|
'Content-Type': 'text/plain; charset=utf-8'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user