mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-06-24 03:58:52 +08:00
Add more timeout to axios
This commit is contained in:
parent
3d2cd1569f
commit
d14bd41b68
5
backend/.idea/workspace.xml
generated
5
backend/.idea/workspace.xml
generated
@ -19,7 +19,9 @@
|
||||
<select />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="8b97a098-48b2-4e64-a9ef-522fe2d30b52" name="Default Changelist" comment="" />
|
||||
<list default="true" id="8b97a098-48b2-4e64-a9ef-522fe2d30b52" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/../web/src/utils/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/utils/index.js" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
@ -76,6 +78,7 @@
|
||||
<workItem from="1598323737081" duration="1913000" />
|
||||
<workItem from="1598442849645" duration="8914000" />
|
||||
<workItem from="1598778633049" duration="8638000" />
|
||||
<workItem from="1598795202964" duration="223000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user