Skip to content

Commit

Permalink
add: deepl api url issue link
Browse files Browse the repository at this point in the history
  • Loading branch information
windingwind authored Sep 11, 2023
1 parent be7681d commit 5b190da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/services/deepl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const deeplfree = <TranslateTaskProcessor>async function (data) {
};

export const deeplpro = <TranslateTaskProcessor>async function (data) {
// See https://github.com/windingwind/zotero-pdf-translate/issues/579
return await deepl(data.secret.endsWith('dp')?"https://api.deepl-pro.com/v2/translate":"https://api.deepl.com/v2/translate", data);
};

Expand Down

0 comments on commit 5b190da

Please sign in to comment.