Skip to content

Commit

Permalink
feat(next/api): update translate timeout duration
Browse files Browse the repository at this point in the history
  • Loading branch information
uffy committed May 23, 2024
1 parent 58c2db2 commit 8e0f195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/api/src/service/translate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class TranslateService {
this.fanyiURL,
{ text },
{
timeout: 2000,
timeout: 5000,
headers: {
'x-fanyi-token': this.fanyiToken,
},
Expand Down

0 comments on commit 8e0f195

Please sign in to comment.