Merge pull request #2040 from robinbrandt/push-tmrkoytpuvul

Allow chromium unstable endpoint for push messages
This commit is contained in:
Stanko Krtalić
2025-12-10 09:10:06 +01:00
committed by GitHub
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"