feat: replace Web Push with ntfy for medication reminders
Single notification path via ntfy HTTP publish for reliable Android delivery; remove VAPID, push subscriptions, and SW push handlers. PWA settings show topic subscribe link; humor texts and deep-link actions unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+5
-4
@@ -5,10 +5,11 @@ APP_PIN=1234
|
||||
JWT_SECRET=change-me-to-a-long-random-string
|
||||
JWT_EXPIRE_DAYS=90
|
||||
|
||||
# VAPID keys für Web Push — generieren mit: python tools/gen_vapid.py
|
||||
VAPID_PRIVATE_KEY=
|
||||
VAPID_PUBLIC_KEY=
|
||||
VAPID_CLAIMS_EMAIL=mailto:admin@schwenk.online
|
||||
# ntfy — Erinnerungen an Topic publizieren (ntfy-App abonnieren)
|
||||
NTFY_URL=https://ntfy.schwenk.online
|
||||
NTFY_TOPIC=takeyourmeds
|
||||
NTFY_TOKEN=
|
||||
NTFY_CLICK_URL=https://medis.schwenk.online
|
||||
|
||||
# OpenRouter (optional — Roast-of-the-Day)
|
||||
OPENROUTER_API_KEY=
|
||||
|
||||
Reference in New Issue
Block a user