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.
20 lines
641 B
TOML
20 lines
641 B
TOML
name = "d3ro-voice-api"
|
|
main = "src/index.ts"
|
|
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 = [
|
|
# { pattern = "d3ro.chanpaca.net/*", zone_name = "chanpaca.net" }
|
|
# ]
|