Use config_for
for VAPID key storage (#34845)
This commit is contained in:
parent
a1c260696f
commit
f7a3dd0e38
15 changed files with 42 additions and 40 deletions
|
@ -3,7 +3,7 @@
|
|||
- if user_signed_in?
|
||||
%meta{ name: 'initialPath', content: request.path }
|
||||
|
||||
%meta{ name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key }
|
||||
%meta{ name: 'applicationServerKey', content: Rails.configuration.x.vapid.public_key }
|
||||
|
||||
= render_initial_state
|
||||
= vite_typescript_tag 'application.ts', crossorigin: 'anonymous'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue