mirror of https://github.com/fantasticit/think.git
client: update timeout
This commit is contained in:
parent
a48f5669d8
commit
a3b2e3d97d
|
@ -10,7 +10,7 @@ interface AxiosInstance extends Axios {
|
||||||
|
|
||||||
export const HttpClient = axios.create({
|
export const HttpClient = axios.create({
|
||||||
baseURL: process.env.SERVER_API_URL,
|
baseURL: process.env.SERVER_API_URL,
|
||||||
timeout: 60000,
|
timeout: 10 * 1000,
|
||||||
withCredentials: true,
|
withCredentials: true,
|
||||||
}) as AxiosInstance;
|
}) as AxiosInstance;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue