diff options
| author | Kit La Touche <kit@transneptune.net> | 2025-09-07 22:14:24 -0400 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2025-09-07 22:14:24 -0400 |
| commit | a82b5271fee07ea1b023596eb94ac035a4983cd8 (patch) | |
| tree | 1d12bea1ca40b06f52d6983ff67ae6b399b884de /ui/lib/components/NotificationSettings.svelte | |
| parent | ce00aa3965befe4b11a2115b704f96fd3559b19c (diff) | |
Line up notifications UI
Diffstat (limited to 'ui/lib/components/NotificationSettings.svelte')
| -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(); |
