mirror of
https://github.com/sune-org/us.proxy.sune.chat.git
synced 2026-03-17 02:21:01 +00:00
Refactor: Update ntfy title with domain
This commit is contained in:
@@ -6,10 +6,9 @@ export function notify(msg, priority = 3, tags = []) {
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: msg,
|
body: msg,
|
||||||
headers: {
|
headers: {
|
||||||
Title: 'Sune Proxy',
|
Title: 'us.proxy.sune.chat',
|
||||||
Priority: `${priority}`,
|
Priority: `${priority}`,
|
||||||
Tags: tags.join(','),
|
Tags: tags.join(','),
|
||||||
},
|
},
|
||||||
}).catch(e => console.error('ntfy failed:', e))
|
}).catch(e => console.error('ntfy failed:', e))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user