Skip to content

Commit

Permalink
improvement: 超时时间
Browse files Browse the repository at this point in the history
  • Loading branch information
Yingyya authored Aug 9, 2024
1 parent e138d45 commit 339a71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface CustomRequestOptions {
}

const config: CreateAxiosDefaults = {
timeout: 1000 * 10,
timeout: 1000 * 20,
baseURL: import.meta.env.VITE_API_URL,
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
Expand Down

0 comments on commit 339a71d

Please sign in to comment.