Use config_for for VAPID key storage (#34845)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user