This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-bot.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c44e9a  sync from glitch
6c44e9a is described below

commit 6c44e9a6244cf4744f0376e1e6599ace393d697f
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Thu Mar 7 09:37:24 2024 +0800

    sync from glitch
---
 src/translator.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/translator.js b/src/translator.js
index 62eafc8..5271827 100644
--- a/src/translator.js
+++ b/src/translator.js
@@ -10,6 +10,8 @@ async function translateByGoogle(rawContent) {
             {
                 to: 'en',
                 // tld: 'cn',
+                // not use website & dictExt endpoint
+                endpoints: ['api'],
                 randomEndpoint: true
             }
         );


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to