Allow chromium unstable endpoint

This commit is contained in:
Robin Brandt
2025-12-09 20:16:15 -05:00
parent b549291889
commit d60643f5ef
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
class Push::Subscription < ApplicationRecord
PERMITTED_ENDPOINT_HOSTS = %w[
jmt17.google.com
fcm.googleapis.com
updates.push.services.mozilla.com
web.push.apple.com
+1
View File
@@ -98,6 +98,7 @@ class Push::SubscriptionTest < ActiveSupport::TestCase
test "accepts all permitted push service domains" do
permitted_endpoints = [
"https://fcm.googleapis.com/fcm/send/token123",
"https://jmt17.google.com/fcm/send/token123",
"https://updates.push.services.mozilla.com/wpush/v2/token123",
"https://web.push.apple.com/QaBC123",
"https://wns2-db5p.notify.windows.com/w/?token=abc123"