2
0

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
parent f96743fcfb
commit 1151b05c2d
6 changed files with 43 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
shared:
deepl:
api_key: <%= ENV.fetch('DEEPL_API_KEY', nil) %>
api_key: <%= ENV.fetch('DEEPL_API_KEY', nil)&.to_json %>
plan: <%= ENV.fetch('DEEPL_PLAN', 'free') %>
libre_translate:
api_key: <%= ENV.fetch('LIBRE_TRANSLATE_API_KEY', nil) %>
endpoint: <%= ENV.fetch('LIBRE_TRANSLATE_ENDPOINT', nil) %>
api_key: <%= ENV.fetch('LIBRE_TRANSLATE_API_KEY', nil)&.to_json %>
endpoint: <%= ENV.fetch('LIBRE_TRANSLATE_ENDPOINT', nil)&.to_json %>