Revert "DeepL: URI"

This reverts commit f14c44c0a2.
pull/215/head
M66B 4 months ago
parent f14c44c0a2
commit 0cec24ec40

@ -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…
Cancel
Save