fix: notification badge
This commit is contained in:
parent
083f8a9edb
commit
548247f39c
@ -174,7 +174,7 @@ function makeNotification(n: PushNotification) {
|
||||
return {
|
||||
body: body(),
|
||||
icon: evx.author.avatar ?? defaultAvatar(evx.author.pubkey),
|
||||
badge: CONFIG.appleTouchIconUrl,
|
||||
badge: `${location.protocol}//${location.hostname}${CONFIG.appleTouchIconUrl}`,
|
||||
timestamp: evx.created_at * 1000,
|
||||
tag: evx.id,
|
||||
data: JSON.stringify(n),
|
||||
|
Loading…
x
Reference in New Issue
Block a user