client: update timeout

This commit is contained in:
fantasticit 2022-05-27 15:51:23 +08:00
parent a48f5669d8
commit a3b2e3d97d
1 changed files with 1 additions and 1 deletions

View File

@ -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;