修改请求超时时间为30秒。

This commit is contained in:
2023-12-26 18:00:14 +08:00
parent c6705d326d
commit 0cf8e16129
3 changed files with 435 additions and 178 deletions

View File

@@ -13,7 +13,7 @@ import axios, { type AxiosInstance } from "axios";
const service: AxiosInstance = axios.create(
{
baseURL: "",
timeout: 10000,
timeout: 30000,
}
);