Skip to content

Commit 5305cfb

Browse files
committed
chore: reduce timeout
1 parent 5c974ea commit 5305cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const service = axios.create({
44
baseURL:
55
import.meta.env.VITE_API_URL ||
66
`${window.location.protocol}//${window.location.hostname}:9529/api/v1`,
7-
timeout: 120000,
7+
timeout: 5000,
88
})
99

1010
const errHandler = async (error: AxiosError) => {

0 commit comments

Comments
 (0)