From a82b5271fee07ea1b023596eb94ac035a4983cd8 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sun, 7 Sep 2025 22:14:24 -0400 Subject: Line up notifications UI --- ui/lib/components/NotificationSettings.svelte | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/lib/components/NotificationSettings.svelte') 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(); -- cgit v1.2.3