2
0

Use config_for for VAPID key storage (#34845)

This commit is contained in:
Matt Jankowski
2025-05-30 03:00:33 -04:00
committed by GitHub
parent a1c260696f
commit f7a3dd0e38
15 changed files with 42 additions and 40 deletions

View File

@@ -79,8 +79,8 @@ class WebPushRequest
def vapid_key
@vapid_key ||= Webpush::VapidKey.from_keys(
Rails.configuration.x.vapid_public_key,
Rails.configuration.x.vapid_private_key
Rails.configuration.x.vapid.public_key,
Rails.configuration.x.vapid.private_key
)
end