mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
Add more timeout to axios
This commit is contained in:
@@ -4,7 +4,7 @@ import {BACKEND_BASE} from "@/config";
|
||||
|
||||
export const axios = Axios.create({
|
||||
baseURL: `${BACKEND_BASE}/api`,
|
||||
timeout: 1000
|
||||
timeout: 10000
|
||||
});
|
||||
|
||||
export function isEmptyObj(obj) {
|
||||
|
||||
Reference in New Issue
Block a user