타임아웃
This commit is contained in:
@@ -130,7 +130,7 @@ const onResponseRejected = (error: AxiosError) => {
|
|||||||
|
|
||||||
export const initAxios = () => {
|
export const initAxios = () => {
|
||||||
axios.defaults.withCredentials = false;
|
axios.defaults.withCredentials = false;
|
||||||
axios.defaults.timeout = 15000;
|
axios.defaults.timeout = 60000;
|
||||||
axios.defaults.transitional = {
|
axios.defaults.transitional = {
|
||||||
clarifyTimeoutError: true,
|
clarifyTimeoutError: true,
|
||||||
forcedJSONParsing: true,
|
forcedJSONParsing: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user