From 397b0914e00bb43e7fafc10ab4f95fed4865d38d Mon Sep 17 00:00:00 2001 From: Link Date: Mon, 31 May 2021 14:24:13 +0800 Subject: [PATCH] fix: 1000ms -> 30000ms timeout --- src/utils/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/http.ts b/src/utils/http.ts index 0e3279bb..ac295602 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -23,7 +23,7 @@ const baseURL = isDevelopment const http: AxiosInstance = Axios.create({ withCredentials: true, baseURL: baseURL, - timeout: 1000 + timeout: 30000 }) if (!isDevelopment && isElectron()) {