mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
parent
f14c44c0a2
commit
0cec24ec40
1 changed files with 0 additions and 2 deletions
|
@ -337,8 +337,6 @@ public class DeepL {
|
|||
}
|
||||
|
||||
private static String getBaseUri(String key) {
|
||||
if (key != null && key.startsWith("https://"))
|
||||
return key;
|
||||
String domain = (key != null && key.endsWith(":fx") ? "api-free.deepl.com" : "api.deepl.com");
|
||||
return "https://" + domain + "/v2/";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue