diff options
Diffstat (limited to 'ui/lib/components')
| -rw-r--r-- | ui/lib/components/NotificationSettings.svelte | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/lib/components/NotificationSettings.svelte b/ui/lib/components/NotificationSettings.svelte index 8bc9d8b..f4a0e3f 100644 --- a/ui/lib/components/NotificationSettings.svelte +++ b/ui/lib/components/NotificationSettings.svelte @@ -8,6 +8,7 @@ function doSubscribe() { navigator.serviceWorker.ready .then(async (registration) => { + // TODO: Get vapid key from remote.state instead: const response = await fetch("/api/vapid"); // and if we fail to get it? const vapidPublicKey = await response.text(); |
