Skip to content

Commit

Permalink
fix: Update translate api url
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxuan6 committed Jul 1, 2024
1 parent 0f3f4b3 commit 70e87fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeplx.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func Translate(text, sourceLang, targetLang string) (string, error) {
return "", errors.New("No Translate Text Found")
}

response, err := post("https://api.deeplx.org/translate", RequestParams{
response, err := post("https://translate.smurl1.asia/translate", RequestParams{
Text: text,
SourceLang: sourceLang,
TargetLang: targetLang,
Expand Down

0 comments on commit 70e87fd

Please sign in to comment.