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 8e0f195 commit cfcfb2b
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: 5000,
timeout: 10000,
headers: {
'x-fanyi-token': this.fanyiToken,
},
Expand Down

0 comments on commit cfcfb2b

Please sign in to comment.