Skip to content

Commit f68f499

Browse files
committed
perf(请求): 增加请求超时时间至15000毫秒
1 parent e9fe900 commit f68f499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/utils/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const baseURL = window.electron
1717

1818
const request = axios.create({
1919
baseURL,
20-
timeout: 5000,
20+
timeout: 15000,
2121
withCredentials: true
2222
});
2323

0 commit comments

Comments
 (0)