json-translator icon indicating copy to clipboard operation
json-translator copied to clipboard

DEEPL API PRO KEY URL ISSUE

Open numito opened this issue 4 months ago • 1 comments

Hello,

Cool project !

The translations fails when we use a Deepl API pro key because the deepl api url is hardcoded to deepl api free url:

  • Deepl API FREE: api-free.deepl.com
  • Deepl API PRO: api.deepl.com

Should be able to set an ENV variable to DEEPL_API_URL so we can override the hardcoded api-free.deepl.com url.

numito avatar Oct 24 '24 12:10 numito