Fix support for special characters in various environment variables (#35314)

Co-authored-by: Matt Jankowski <matt@jankowski.online>
This commit is contained in:
Claire 2025-07-09 10:58:41 +02:00
commit 1151b05c2d
6 changed files with 43 additions and 21 deletions

View file

@ -13,5 +13,5 @@
# https://rossta.net/blog/using-the-web-push-api-with-vapid.html
#
shared:
private_key: <%= ENV.fetch('VAPID_PRIVATE_KEY', nil) %>
public_key: <%= ENV.fetch('VAPID_PUBLIC_KEY', nil) %>
private_key: <%= ENV.fetch('VAPID_PRIVATE_KEY', nil)&.to_json %>
public_key: <%= ENV.fetch('VAPID_PUBLIC_KEY', nil)&.to_json %>