/push/:messageid/:message/:title

Pushbenachrichtigungen können zuverlässig über diese route gesendet werden

Für abstände muss %20 verwendet werden
This commit is contained in:
Georg Reisinger
2019-02-24 03:55:56 +01:00
parent d8de161f39
commit 2d70dbdf3d
11 changed files with 6 additions and 687 deletions

View File

@ -46,5 +46,5 @@ function updateUser(token) {
msg.onMessage(payload => {
const title = payload.data.title
new Notification(title, { body: payload.data.text});
new Notification(title, { body: payload.data.body});
})