From a3b2e3d97d6cb00118cbc0ff8310dcc4df0d0431 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Fri, 27 May 2022 15:51:23 +0800 Subject: [PATCH] client: update timeout --- packages/client/src/services/http-client.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/services/http-client.tsx b/packages/client/src/services/http-client.tsx index 5c61a76..94e6254 100644 --- a/packages/client/src/services/http-client.tsx +++ b/packages/client/src/services/http-client.tsx @@ -10,7 +10,7 @@ interface AxiosInstance extends Axios { export const HttpClient = axios.create({ baseURL: process.env.SERVER_API_URL, - timeout: 60000, + timeout: 10 * 1000, withCredentials: true, }) as AxiosInstance;