Skip to content

Commit

Permalink
fix: api host
Browse files Browse the repository at this point in the history
  • Loading branch information
missuo committed Apr 23, 2024
1 parent c954c65 commit 7b50838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translate.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func translateByDeepLX(sourceLang string, targetLang string, translateText strin
}

// Preparing the request data for the DeepL API
url := "https://www2.deepl.com/jsonrpc"
url := "https://api.deepl.com/jsonrpc"
id = id + 1
postData := initDeepLXData(sourceLang, targetLang)
text := Text{
Expand Down

0 comments on commit 7b50838

Please sign in to comment.