Update service-worker.js #2489

Closed
blueraymusic wants to merge 1 commits from main into main
blueraymusic commented 2025-07-22 05:18:57 +08:00 (Migrated from github.com)

Changes:

  • Optional chaining to avoid runtime errors
  • for...of for readability
  • Defensive checks for event.data and event.notification.data
Changes: - Optional chaining to avoid runtime errors - for...of for readability - Defensive checks for event.data and event.notification.data

Pull request closed

Sign in to join this conversation.