mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2025-04-19 06:03:25 +00:00
fix: api host
This commit is contained in:
parent
c954c65d0f
commit
7b50838f68
@ -103,7 +103,7 @@ func translateByDeepLX(sourceLang string, targetLang string, translateText strin
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Preparing the request data for the DeepL API
|
// Preparing the request data for the DeepL API
|
||||||
url := "https://www2.deepl.com/jsonrpc"
|
url := "https://api.deepl.com/jsonrpc"
|
||||||
id = id + 1
|
id = id + 1
|
||||||
postData := initDeepLXData(sourceLang, targetLang)
|
postData := initDeepLXData(sourceLang, targetLang)
|
||||||
text := Text{
|
text := Text{
|
||||||
|
Loading…
Reference in New Issue
Block a user