src/utils/request.ts
@@ -131,7 +131,7 @@ const createAxiosInstance = (option: Partial<CreateAxiosDefaults<any>> = {}) => { return axios.create({ baseURL: MAIN_URL, timeout: 120000, timeout: 1200000, headers: { 'Content-Type': 'application/json;charset=utf-8 ' }, ...option, }); @@ -147,7 +147,6 @@ responseType: 'stream', }); const decoder = new TextDecoder(); const encoder = new TextEncoder(); const readStream = async (stream: ReadableStream, cb: (value) => void): Promise<any> => { const reader = stream.getReader(); let lastValue = '';