feat(server): deliver push without a Firebase project
Every notification depended on Firebase Cloud Messaging, so a missing Firebase project, which is the current state, meant no notification could be delivered on any platform. Web Push and token-based Apple Push are now first class transports alongside FCM, chosen per registered device, and a scheduled Cloudflare Worker drain retries an outbox so a provider outage delays rather than drops a message.
This commit is contained in:
parent
5aa268970a
commit
bb0e54dcee
13 changed files with 1412 additions and 41 deletions
|
|
@ -5,6 +5,14 @@ compatibility_date = "2024-04-01"
|
|||
[vars]
|
||||
BACKEND_ORIGIN = "http://192.168.0.39:5050"
|
||||
SERVICE_NAME = "D3RO Voice Cloud Gateway"
|
||||
# Supabase project base URL for the scheduled push-outbox drain.
|
||||
# SUPABASE_URL = "https://<project-ref>.supabase.co"
|
||||
# PUSH_DRAIN_BATCH_LIMIT = "20"
|
||||
|
||||
# Scheduled drain of the Supabase push outbox (every minute).
|
||||
# Requires the secret: wrangler secret put SUPABASE_SERVICE_ROLE_KEY
|
||||
[triggers]
|
||||
crons = ["* * * * *"]
|
||||
|
||||
# Cloudflare Custom Domain / Route Binding (선택 시 활성화)
|
||||
# routes = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue