This commit is contained in:
jonathang4 2025-08-27 17:44:16 +08:00
parent 661875bd16
commit f781a8ec1c

View File

@ -170,8 +170,6 @@ export async function request(
...(options.headers || {}),
},
timeout: 15000,
maxContentLength: 50 * 1024 * 1024, // 设置50MB限制避免-1的问题
maxBodyLength: 50 * 1024 * 1024, // 设置50MB限制避免-1的问题
validateStatus: () => true,
..._.omit(options, "params", "headers"),
});