Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

尝试在cf workers上部署,提示429 #8

Open
showgood163 opened this issue Jul 21, 2024 · 2 comments
Open

尝试在cf workers上部署,提示429 #8

showgood163 opened this issue Jul 21, 2024 · 2 comments

Comments

@showgood163
Copy link

用npm部署和直接扔workers.js都试过了

没有设置额外域名,在workers.dev上测试,一次都翻译不了,提示429

请问这个问题该如何解决?

@kiddyyang
Copy link

一样的情况,好久都没有更新了。蹲一波

@ffreemt
Copy link

ffreemt commented Aug 26, 2024

试试 src/indx.ts 里的 "https://ideepl.vercel.app/jsonrpc"
改成 'https://www2.deepl.com/jsonrpc'

    const result = await query(params, {
      proxyEndpoint: 'https://www2.deepl.com/jsonrpc',
      // "https://ideepl.vercel.app/jsonrpc",
    });

不过一般用几次也会出429。薅 deepl-pro 吧比较靠谱。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants