mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-14 00:01:03 +00:00
fix(push): accept Google's jmt17.google.com push endpoints
Chrome on Android increasingly hands out push subscriptions on jmt17.google.com, which the push service allowlist did not know, so turning push on failed with a 400. The host is added as an exact entry, next to the two FCM hosts. Closes #2939
This commit is contained in:
@@ -13,6 +13,8 @@ export const PUSH_SERVICE_HOSTS: readonly string[] = [
|
||||
// Chrome, Edge on Android, and every Chromium browser that uses Google's push.
|
||||
'fcm.googleapis.com',
|
||||
'android.googleapis.com',
|
||||
// Google's newer push host, which Chrome on Android hands out more and more (#2939).
|
||||
'jmt17.google.com',
|
||||
// Firefox (autopush).
|
||||
'updates.push.services.mozilla.com',
|
||||
'push.services.mozilla.com',
|
||||
|
||||
Reference in New Issue
Block a user